img set with css
-
Hello,
I am trying to use the plugin as described: https://ps.w.org/wp-header-images/assets/screenshot-3.png?rev=1705586 . with css. I follow the instructions and set in header.php:
<?php do_shortcode(‘[WP_HEADER_IMAGES template_str=\'<h2 class=”header_image”><h2 style=”background-image:url(%url%);”>%title%</h2> </div>\’]’); ?>
OR
<?php do_action(‘apply_header_images’,'<h2 class=”header_image”><h2 style=”background-image:url(%url%);”>%title%</h2> </div>’); ?>And it always render <div class=”header_image”>
</div>h2 is not rendered.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘img set with css’ is closed to new replies.