WordPress.org

Support

Support » Plugins and Hacks » [Resolved] WP-pagenav in listing description taxonomies.

[Resolved] WP-pagenav in listing description taxonomies.

  • alejodec
    Member

    @alejodec

    Hello there! Sorry for my English, I use google translator.
    Using WP-PageNavi in post and pages and it works great.
    I have this code in a template showing the description of a taxonomy but as I can not paginate results pages.
    Can someone help me? I’d be very grateful.

    <ul>
    			<?php
    			$args = array(
    				'taxonomy' => 'actor',
    				'order'=>'ASC'
    			);
    			$active_slug = get_query_var('actor');
    			$collections = get_categories($args);
    			foreach ($collections as $c)
    			{
    			($c->slug == $active_slug)
    				?>
    				<li><?php print $c->description; ?></li>
    
    					<?php
    			}
    			?>
    			</ul>

    https://wordpress.org/plugins/wp-pagenavi/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] WP-pagenav in listing description taxonomies.’ is closed to new replies.