[Resolved] Changing header.php to custom header-custom.php breaks shortcode
Great plugin, easy to configure, nice and simple worked great for adding a category for a rotating monthly donor article.
Small problem, I hope, I had to add a custom header for certain pages. When I add the header by
<?php get_header('custom'); ?>(inserts header-custom.php instead of header.php) the page works up to the Posts in Pages shortcode, which i’m using in the template as
<?php echo do_shortcode("[ic_add_posts post_type='donor' template='single-donor-month.php' showposts='1' orderby='date' order='DSC' ] "); ?>
Any idea what went wrong and what I need to do to correct?
- The topic ‘[Resolved] Changing header.php to custom header-custom.php breaks shortcode’ is closed to new replies.