WordPress.org

Ready to get started?Download WordPress

Forums

Page Builder by SiteOrigin
[resolved] Custom post type loop widget - wp query category (5 posts)

  1. mak1wp
    Member
    Posted 9 months ago #

    Hi Greg,

    Hope all's well.
    I was wondering if you knew how I can specify a category or other taxonomy for a specific custom post type for the post loop widget? I've tried all sorts of variations of 'post_type=portfolio&category_name=category-3' with no luck :(

    Thanks!

    http://wordpress.org/plugins/siteorigin-panels/

  2. Greg Priday
    Member
    Plugin Author

    Posted 9 months ago #

    There was a bit of an issue with the post loop widget but I posted an update with a fix last night (1.3.5). Updating might fix it. If not, I'll take a proper look.

  3. mak1wp
    Member
    Posted 9 months ago #

    Apologies for my late reply.
    I can see you've got it working! Amazing! Thanks so much.

    Just a quick note to anybody else using this if its not working, make sure you type the correct taxonomy instead of 'category_name' as I did above. Mine for example is...

    post_type=portfolio&portfolio_cats=category-1

    Thanks again Greg top work

  4. jbuesking
    Member
    Posted 9 months ago #

    Great that you have this working. I still have not figured out what I'm doing wrong after trying several different combinations.

    I am using the the pitch premium theme and trying to query the projects post type but only certain skills.

    So I have projects and lets say a skill is "wood". I'd like to only query the projects that have "wood" as a skill.

    I'm confused on how it should go exactly in the argument box.

  5. jbuesking
    Member
    Posted 9 months ago #

    figured it out.

    post_type=project&skill=wood

Reply

You must log in to post.

About this Plugin

About this Topic