WordPress.org

Forums

Gallery not appearing in included page (1 post)

  1. burnblue
    Member
    Posted 5 years ago #

    I am building a single page site for a client: http://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: http://dimitrikozyrev.com/paintings/
    Click on "Paintings", then on "Lost Landscapes" - this should display an image gallery. However, looking at http://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?

Topic Closed

This topic has been closed to new replies.

About this Topic