• Hi ,

    I need only one slider in main (index) page and below the slider i dont need the posts and its images to be displayed.

    note : Only one slider which i made it already by admin panel but below that featured slider is not ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • what is slider name ??

    Thread Starter saravanavip

    (@saravanavip)

    Its the default slider which is already available in hueman theme.

    Below the slider , i need no posts to be displayed ????????

    ya you can try it..and i think this functionality is available in theme..
    Please check the admin panel

    There is no setting in the theme to do this, however I read in some other thread someone who solved it with a plugin. Can’t currently find the thread though.

    Thread Starter saravanavip

    (@saravanavip)

    Is there any other way to hide or remove the thumbnails below the main page. I need only one image in default slider of main page.

    I tried in featured.php , content.php but i cant.

    Hi there, I am not sure if this is what you are looking for, but as I understand it, you don’t won’t to show other posts on the main page besides the slider.

    This is what I did for myself:

    Find this in the index.php

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

    and below that you can see this: (delete it to not show any posts in your index page.)

    <?php if ( have_posts() ) : ?>
    
    			<div class="post-list group">
    				<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
    				<?php get_template_part('content'); ?>
    				<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
    			</div><!--/.post-list-->
    
    			<?php get_template_part('inc/pagination'); ?>

    Cheers.

    Thread Starter saravanavip

    (@saravanavip)

    Hi butrinty,

    Thanks for your share !

    If i delete that means it is not opening. I meant that index.php page is not showing any content (blank page only showing).

    Thread Starter saravanavip

    (@saravanavip)

    Now i got that ,

    Kindly replace above lines by below lines in index.php ,

    <?php if ( have_posts() ) : ?>

    <?php $i = 1;echo ‘<div class=”post-row”></div>’; ?>
    <!–/.some lines has been removed here –>

    <!–/.post-list–>

    <?php get_template_part(‘inc/pagination’); ?>

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Index Page’ is closed to new replies.