Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 4743532

Browse files
committed
Adds match height to the theme boilerplate.
1 parent 01d4228 commit 4743532

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

theme-template/includes/register-scripts.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
'wp_enqueue_scripts',
1616
function () {
1717
$asset_enqueue = Asset_Enqueue::get_instance();
18+
19+
wp_register_script( 'match-height', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js', array( 'jquery' ), '0.7.2', true );
1820

1921
$asset_enqueue->register_vite_script( 'example_script', 'js/example-script.js' );
2022
wp_enqueue_script( 'example_script' );
@@ -29,6 +31,8 @@ function () {
2931
function () {
3032
$asset_enqueue = Asset_Enqueue::get_instance();
3133

34+
wp_register_script( 'match-height', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.matchHeight/0.7.2/jquery.matchHeight-min.js', array( 'jquery' ), '0.7.2', true );
35+
3236
$asset_enqueue->register_vite_script( 'block_styles', 'js/admin/block-styles.js', array( 'block_style_modifier' ) );
3337
wp_enqueue_script( 'block_styles' );
3438
}

0 commit comments

Comments
 (0)