Slider on other pages (5 posts)

  1. geek373
    Posted 2 years ago #

    How can I add the slider to pages other than the home page?

    Tried adding

    <div class="top-section">
    		<?php dazzling_featured_slider(); ?>
    		<?php dazzling_call_for_action(); ?>

    to page.php but when I view source of the page, there is nothing between the div.

  2. Mijankarim
    Posted 2 years ago #

    Are you using a plugins for slider?

  3. geek373
    Posted 2 years ago #

    No, the slider is integrated into this theme using PHP and JavaScript (as I understand it from a quick lookover of the files). But it's almost as if those functions don't work on any page other than the index. Is there a way around this?

  4. WebParroteer
    Posted 2 years ago #

    You can add Soliloquy plugin https://wordpress.org/plugins/soliloquy-lite/ then you add the short code for the slider in the page that you need.

  5. Silkalns
    Theme Author

    Posted 2 years ago #

    With this theme I have made sure that slider is displayed only on front page, so you will have to modify actual slider code in extras.php file to make it work elsewhere.

    Adding it to page.php theme file the slider would be displayed on ALL pages in your website instead of just single page.

    Personally i would recommend to use some slider plugin for extra flexibility, unless of course, you want to code your own solution.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic