We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2ae63e + ac2eee1 commit 5e8a960Copy full SHA for 5e8a960
functions.php
@@ -32,9 +32,9 @@ function twentytwentyfour_block_styles() {
32
'core/button',
33
array(
34
'handle' => 'twentytwentyfour-button-style-outline',
35
- 'src' => get_theme_file_uri( 'assets/css/button-outline.css' ),
36
- 'ver' => wp_get_theme( 'twentytwentyfour' )->get( 'Version' ),
37
- 'path' => get_theme_file_path( 'assets/css/button-outline.css' ),
+ 'src' => get_parent_theme_file_uri( 'assets/css/button-outline.css' ),
+ 'ver' => wp_get_theme( get_template() )->get( 'Version' ),
+ 'path' => get_parent_theme_file_path( 'assets/css/button-outline.css' ),
38
)
39
);
40
0 commit comments