Gallery not appearing in included page
-
I am building a single page site for a client: https://dimitrikozyrev.com/
Each black bar is a WordPress page that is inserted into index.php using the improved-include-page plugin:
<?php if(function_exists(‘iinclude_page’)) iinclude_page(6); ?>Problem is, I need some of the pages to contain galleries (WP gallery shortcode). The gallery doesn’t load on included pages – it only loads if you go to the page URL.
See: https://dimitrikozyrev.com/paintings/
Click on “Paintings”, then on “Lost Landscapes” – this should display an image gallery. However, looking at https://dimitrikozyrev.com/, no code gets rendered at all by the [gallery] shortcode.Is there a way to include pages and still have the [gallery] shortcode work?
- The topic ‘Gallery not appearing in included page’ is closed to new replies.