Viewing 7 replies - 1 through 7 (of 7 total)
  • Not currently, unless you do customization on your own. To give you a start:

    1. Create a custom page template (use page.php as base)
    2. Add this where you wish the slider to appear

    <?php get_template_part('inc/featured'); ?>

    In /inc/featured.php, locate:

    <?php elseif ( is_home() && !is_paged()

    Change to:

    <?php elseif ( !is_paged()

    Now I haven’t tested properly, but there may be additional fixes needed. There you get a start at least.

    Thread Starter sybers

    (@sybers)

    How do i use page.php as a base ? I tried creating a custom template but the slider doesn’t seem to working.
    https://www.bengalkop.com/home/ here is the link to my website

    You need to create a page template, like /page-templates/child-menu.php. Copy that file and create a new one, give a name, and put a new name at the top of the file, and the page template will appear as a selectable option when editing the page on the right side.

    More

    Thread Starter sybers

    (@sybers)

    The side bar and the Slider mismatch the area.
    Have a Look https://www.bengalkop.com/home/

    In your page template, locate:

    <div class="pad group">

    Add this right after:

    <?php get_template_part('inc/featured'); ?>

    And it will be placed on the right spot.

    Thread Starter sybers

    (@sybers)

    Thank you, It works like charm. Any change of re-sizing the sider ? Sorry for the trouble! New to coding,Sorry! ??

    To resize the slider, you can either change the thumb-large size in functions.php and regenerate thumbnails after.

    Or you can go to Theme Options > Styling and decrease website max-width and as the content gets area gets smaller, the slider will as well.

    By the way, It looks like your page template is missing a closing div for this section:

    <section class="content">
    </section>

    which pushes down the sidebars – compare with page.php to see that it’s not missing a closing </div> or </section>.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Slider option’ is closed to new replies.