Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

alejodec on "Paginate a list a custom taxonomy description, please help."

$
0
0

Hello there! Sorry for my English, I use google translator.
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>

Viewing all articles
Browse latest Browse all 8245

Trending Articles