matchHeight

Апісанне

matchHeight loads the jQuery matchHeight library and applies it to the CSS selectors entered in the plugin settings.

The plugin makes the height of all matched elements equal. It does not collect personal data, make external requests, or add front-end assets when no selectors are configured.

Выкарыстанне

  1. Go to Settings > matchHeight.
  2. Enter the CSS selectors for the elements you want to equalize.
  3. Separate multiple selectors with commas, for example: .card, .feature.
  4. Save the changes.

The plugin is a WordPress wrapper for jQuery matchHeight.js by Liam Brummitt.

Скрыншоты

Ўсталёўка

  1. Upload the matchheight folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings > matchHeight and add your selectors.

Часта задаваныя пытанні

Does the plugin load scripts on every page?

The scripts load on the front end only when at least one selector has been saved in the settings.

Can I use selectors other than classes and IDs?

Yes. You can use any selector supported by jQuery, including attribute selectors and combinators.

Водгукі

27.02.2020 1 адказ
Be advised – our developer found some potential Malware tied in with this plugin that our client added to the website. Their site started to be put on a blacklist. We quickly had the hosting company do a cleanup and we removed this plugin.
28.02.2017
Now, it's possible to have clean design with equal height columns / rows. Great
Чытаць усе 8 водгукаў

Удзельнікі і распрацоўшчыкі

“matchHeight” з’яўляецца праграмным забеспячэннем з адкрытым зыходным кодам. Наступныя людзі ўнеслі свой уклад у гэты плагін.

Удзельнікі

“matchHeight” перакладзены на 1 мову. Дзякуй перакладчыкам за іх унёсак.

Перакласці “matchHeight” на вашу мову.

Зацікаўлены ў распрацоўцы?

Праглядзіце код, праверце SVN рэпазітарый, або падпішыцеся на журнал распрацоўкі па RSS.

Журнал змяненняў

1.2.1

  • Tested with WordPress 7.1.
  • Improved compatibility with current WordPress coding and security practices.
  • Corrected the bundled matchHeight library version used for browser cache busting.
  • Avoided loading front-end scripts when the selector setting is empty.
  • Improved settings sanitization, escaping, translations, and direct file-access protection.
  • Added graceful handling for invalid CSS selectors.
  • Added a Settings link on the Plugins screen.
  • Updated plugin metadata, documentation, and secure URLs.

1.2.0

  • Upgraded the matchHeight library to version 0.7.2.

1.1.0

  • Upgraded the matchHeight library to version 0.7.0.

1.0.0

  • Initial release.