The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Page 2 showing up on homepage itself (3 posts)

  1. pbseo
    Posted 3 years ago #

    Hi guys

    So my blog here http://www.page3sportz.com/ is showing content from the 2nd page on the homepage itself. The second page can also be seen at /page/2/ but for some reason I am not getting the pagination on the homepage.

    Please advise on how to resolve this

  2. pbseo
    Posted 3 years ago #

    Here is the content of the navigation.php file

    <?php global $SMTheme; ?>
    <?php if (!$SMTheme->get( 'layout', 'dpagination' )) { ?>
    <div class='pagination classic'>
    global $wp_query;
    $big = 999999999;
    			echo paginate_links( array(
    	'base' => str_replace( $big, '%#%', get_pagenum_link( $big ) ),
    	'format' => '?paged=%#%',
    	'current' => max( 1, get_query_var('paged') ),
    	'total' => $wp_query->max_num_pages
    ) );
    <?php } else {
    	$currentpage=max( 1, get_query_var('paged') );
    	if ($wp_query->max_num_pages > $currentpage) {
    <div class='pagination'>
    	<a class="nextpage" alt='<?php echo ($currentpage+1) ?>' href='<?php echo get_pagenum_link($currentpage+1) ?>'><?php echo $SMTheme->_( 'nextpage' ); ?></a>
    <?php } }?>
  3. esmi
    Forum Moderator
    Posted 3 years ago #

    I'm sorry but your chosen theme is not released under GPL. Official WordPress policy states that all plugins and themes that are publicly released are required to adhere to http://wordpress.org/about/gpl/

    I would also strongly recommend that you read this article and consider changing to a theme from a reputable source asap.

Topic Closed

This topic has been closed to new replies.

About this Topic