Site icon Hip-Hop Website Design and Development

Pagination reset downside

I would like a repair for this internet web page.
The web page is hooked up in the event you want to evaluation the code.

The pagination on every tab doesn’t reset to 1 when the person has made a range. This must reset after they click on the tab and the pagination present at 1 if there are outcomes to be returned. The person should nonetheless be capable to entry the pages direct by url i.e.:
http://thedemonsjumble.com/pcdev/archives/class/uncategorised/web page/3/#newest

Would anybody have any concepts as to easy methods to go about resolving this subject.

Any hep could be appreciated.

Sort regards

Hyperlinks that change tabs:

<div class="container">

    <div class="span9 first">

        <ul class="tabs quicktabs-tabs quicktabs-style-nostyle">
              <li >
            <a   model="font-size: 18px !vital; font-weight: daring;" class="present" href="#newest"><?php _e( 'Newest Adverts', 'agrg' ); ?></a>
        </li>


        <li>
            <a  model="font-size: 18px !vital; font-weight: daring; coloration: #1aaf5d;"class="" href="#free"  ><?php _e( 'Free Adverts', 'agrg' ); ?></a>

        </li>
        <li>
            <a  model="font-size: 18px !vital; font-weight: daring; coloration: #ff8800;" class=""  href="#wished"><?php _e( 'Needed Adverts', 'agrg' ); ?></a>
        </li>
        <li>
            <a   model="font-size: 18px !vital; font-weight: daring; coloration: #ef1207;" class=""  href="#forsale"><?php _e( 'For Sale Adverts', 'agrg' ); ?></a>
        </li>
        <li>
            <a   model="font-size: 18px !vital; font-weight: daring; coloration: #af1b6e;" class=""  href="#swap"><?php _e( 'Swap Adverts', 'agrg' ); ?></a>
        </li>
        </ul>

One of many Pagination examples:

            <!-- Start wpcrown_pagination-->    
            <?php 



if( $wp_rewrite->using_permalinks() )
$wpcrown_pagination['base'] = user_trailingslashit( trailingslashit( remove_query_arg('s',get_pagenum_link(1) ) ) . 'web page/%#%/#newest', 'paged');

if (empty($x)){

} else{
if( !empty($wp_query->query_vars['s']) ) {
$wpcrown_pagination['add_args'] = array('s'=>get_query_var('s'));
} else{
echo '<div class="pagination">' . paginate_links($wpcrown_pagination) . '</div>';       } 
}
$checker = 1;
?>
            <!-- Finish wpcrown_pagination-->