<?php
if ( $total_pages > 1 ) {
?>
<div class="paging"><a href="<?php echo $post_type_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
<?php
if ( $total_pages > 1 || true ) {
?>
<div class="paging"><a href="<?php echo $post_type_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
if ( $cp_has_next_page ) {
$popular_url = add_query_arg( array( 'sort' => 'popular' ), $post_type_url );
?>
<div class="paging"><a href="<?php echo $popular_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
if ( $cp_has_next_page || true ) {
$popular_url = add_query_arg( array( 'sort' => 'popular' ), $post_type_url );
?>
<div class="paging"><a href="<?php echo $popular_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
<?php
if ( $total_pages > 1 ) {
$random_url = add_query_arg( array( 'sort' => 'random' ), $post_type_url );
?>
<div class="paging"><a href="<?php echo $random_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
<?php
if ( $total_pages > 1 || true) {
$random_url = add_query_arg( array( 'sort' => 'random' ), $post_type_url );
?>
<div class="paging"><a href="<?php echo $random_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)