WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
Custom Taxonomy? (2 posts)

  1. dgood
    Member
    Posted 1 year ago #

    I'm trying to use tpg for calling on posts with a custom taxonomy, in the same way you can call on a category with [tpg_get_posts category_name="English"].

    Since it's a custom taxonomy (Courses), I don't believe there's a way to call on it like a category has get_the_category($id). Has anyone had any luck with setting this up?

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    At this time, the custom taxonomy is not supported. It does require special handling of the parms passed to the plugin as custom taxonomy is expecting an array and all parms are passed as strings or numbers.

    When adding the other selection criteria which require arrays, I left the custom taxonomy off as I did not have time to test it. In 3 years, you are the first to request it and I have not needed to use it, so it is a low priority.

    I am open to adding the feature to the premium version, but it will be a couple of weeks before I can focus on this.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic