Toolset Types
Inserting Taxonomies into Templates (3 posts)

  1. John
    Posted 2 years ago #

    Good Evening,

    I'm looking for the taxonomy function which would allow me to push taxonomies from this plugin into my page template, like we would with the_tags( ) function in the standard WordPress codex; however, I cannot find any documentation referring to the this function.

    Thanks for any feedback.


  2. John
    Posted 2 years ago #

    Found the solution through WP codex "get_the_term_list()", however, on my site, the taxonomies link to nothing. Am I on the hook to write these taxonomy pages?

    <?php echo get_the_term_list( $post->ID, 'taxonomy-slug','before text','separator text','after text') ?>

  3. Adriano Ferreira
    Plugin Author

    Posted 2 years ago #

    Dear jpmizell,

    I would recommend wp_list_categories: http://codex.wordpress.org/Template_Tags/wp_list_categories

    See an example below:

    <?php wp_list_categories('orderby=name&show_count=1&taxonomy=slug'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic