Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure if i did it correctly but I just changed the if statement in the loop_slider.php to

    <?php if ( $wp_query->max_num_pages < 1 ) : ?>
    <div id=”nav-slider”>

    so it was > 1 initially, I just changed it to < 1 and it got rid of the arrows since the statement now is referring to less than one page.

    Hope it helps!

    Thread Starter [email protected]

    (@leleanebgmailcom)

    It worked like a charm! Thank you ?? I know I’ll be asked if this page arrow could be preserved for the category views but not on the home page. I’ll do some experimenting but please write if you have ideas. Best- LB

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove page arrow from front page – keep only 4 posts’ is closed to new replies.