• Resolved Rexford Haugen

    (@rexhaugen)


    I am attempting to disable the paging function of the main slider in Minimatica’s gallery mode.

    I have attempted using the below settings for the $paged variable
    $paged = get_query_var(‘paged’)
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    $paged = 0;
    $paged = 1;

    Does anyone have any suggestions? This is my first PHP project and the first time I have worked with PHP.

Viewing 1 replies (of 1 total)
  • Thread Starter Rexford Haugen

    (@rexhaugen)

    For any others trying to remove the paging function, remove the following code from loop-slider.php.

    <?php if ( $wp_query->max_num_pages > 1 ) : ?>
    <div id="nav-slider">
    <div class="nav-previous"><?php next_posts_link( '' ); ?></div>
    <div class="nav-next"><?php previous_posts_link( '' ); ?></div>
    </div><!-- #nav-above -->
    <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[minimatica] Disable Paging of slider’ is closed to new replies.