calling static blocks issue
-
hi James
I’m trying to call <?php the_block(‘top.links’); ?> in the header of my page – i’ve tried both using a PHP shortcode plugin and manually adding it in the header.php file – as soon as I add the code in any elements below the code do not get rendered e.g. if I add it above the navigation the navigation and anything below doesn’t show and adding it after the navigation renders the nav but nothing after.
I was able to call the header block via php shortcode (not your shortcode addon) earlier today and it worked then i tried to test different static block and it all stopped working… I did not make any other changes to the site whatsoever.. simply change the shortcode php call.
Any clues?
Many thanks
Maryhttps://www.ads-software.com/plugins/magento-wordpress-integration/
- The topic ‘calling static blocks issue’ is closed to new replies.