WordPress.org

Forums

WP-PageNavi
[resolved] WP-pagenav in listing description taxonomies. (2 posts)

  1. alejodec
    Member
    Posted 8 months ago #

    Sorry for the inconvenience, I found this code that lists descriptions of a taxonomy. It is possible with WP-PageNavi paginate?

    <?php
          $taxonomy = "actor";
          $terms =get_terms($taxonomy);
          $count=count($terms);
          if ( $count > 0 ) {
            echo "<ul>";
            foreach ($terms as $term) {
              echo "<li>" . $term->description . "</li>";
            }
            echo "</ul>";
            }
    ?>

    Thank you very much and apologies.

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

  2. Lester Chan
    Member
    Plugin Author

    Posted 8 months ago #

    Nope, it doesn't paginate that.

Reply

You must log in to post.

About this Plugin

About this Topic