WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Adding criteria to post queries based on PODS (3 posts)

  1. Morklympious
    Member
    Posted 1 year ago #

    Hello, once again. I know I must be annoying since this is my third post within something like two months!

    Anyways, running into trouble here, and I wasn't sure if I should post this here or in another forum, but I'm trying to accomplish something that seems slightly tricky.

    http://pastebin.com/HWXcKCBB

    So for my authors page of my website, the posts are currently queried by the author that wrote them, or rather, the PRIMARY author. Now here comes the tricky part:

    I want to implement a co-author system. So, I created a dropdown of editors that can be picked for co-author with a pod that's extended on Post types.

    Now on the author page, each author has a history of works they've done, essentially what I'm trying to do here is make it such that the co-author and the 'primary' author will both have the article appear on their respective histories. I've looked into using wp_meta_query, but it seems to me like I can't use one querying method without giving up the query_posts altogether. is there a PODS function to add args to a query_posts template tag?

    Anywho, I'll keep picking my brain. but any help would be appreciated!
    And I apologize in advance if this is the wrong place to be posting it. I was just kinda running out of options =.=

    http://wordpress.org/extend/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Have you tried Co-Authors Plus? Totally awesome!

    http://wordpress.org/plugins/co-authors-plus/

    I recommend using that plugin as it has way more abilities than a simple custom field.

  3. Morklympious
    Member
    Posted 1 year ago #

    I ended up going for that! I had seen a lot of other suggestions for it too.

    Thanks a ton, Scott :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic