WordPress.org

Forums

WP-PageNavi
[resolved] Moving the DIV holding pagenavi (how to) (2 posts)

  1. atlemo
    Member
    Posted 4 years ago #

    Hi

    I need to move the page-navi DIV further up in my hierarchy (up on the page), but I can't make it work :p

    Any tips?

    Thanks.

  2. atlemo
    Member
    Posted 4 years ago #

    never mind, I found the solution.

    I moved this part from index.php to where I wanted it in loop.php

    <?php if(function_exists( 'wp_pagenavi' )) { ?>
    			<div class="page-navi">
    				<?php wp_pagenavi(); ?>
    			</div>
    
    		<?php } else { ?>
    			<div class="nav">
    				<?php wp_pagenavi(); ?>
    			</div>
    		<?php } ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic