Shortcode not working
-
I have installed and activated the plugin, and set the URL of the Custom Header Image on my specific page that is using a template. When I go to that template php file and try to add:
<img “src=”<?php echo do_shortcode(“[image_url]”); ?>”>The shortcode doesn’t get replaced the with image URL. Pretty sure I am using this incorrectly, not sure how to get the custom image to display on the page.
I put the:
<?php if(function_exists(‘chi_display_header’)) { chi_display_header(); } ?>
in my index.php after the get_header function
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode not working’ is closed to new replies.