WordPress.org

Ready to get started?Download WordPress

Forums

Dazzling
Slider on other pages (5 posts)

  1. geek373
    Member
    Posted 3 months 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(); ?>
    </div>

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

  2. Mijankarim
    Member
    Posted 3 months ago #

    Are you using a plugins for slider?

  3. geek373
    Member
    Posted 3 months 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
    Inactive
    Posted 3 months 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
    Member
    Theme Author

    Posted 3 months 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.

Reply

You must log in to post.

About this Theme

About this Topic

Tags