CPT posts not showing in the author results

Support MB Custom Post Type CPT posts not showing in the author resultsResolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #46910
    eric@reformedmedia.com[email protected]
    Participant

    Hi,

    I created a custom post type for Journals, everything works fine, but the author post results exclude the Journal results. Is there a disconnect somehow?

    I made a video showing what I mean.

    https://share.zight.com/p9uoD6R1

    Here is the link to the page and example:
    https://test.cbmw.refsites.com/author/colin-smothers/ (this says 79 posts, but only includes the normal WP posts, not the journal posts. There are only 69 that come up in the results.

    What can I do to show all the results for each author?

    #46912
    PeterPeter
    Moderator

    Hello Eric,

    What is the query for showing posts on the author page? Is this supported by the theme Blocksy that you are using? I think you can ask the theme support to add more post types to the query to show Journals posts on the author page.

    #46913
    eric@reformedmedia.com[email protected]
    Participant

    Hi Peter,

    I sent this to them to and i'll ask them that. I wanted to reach out to you also because I wasn't sure if there was a way to connect the CPT to the user ID that I select for the Journal. Like I show in the video, it detects that the author has both post types, but doesn't show in the results, nor in the user post count.

    Thanks,
    Eric

    #46914
    eric@reformedmedia.com[email protected]
    Participant

    just another example I want to show. You can see this author has 4 posts (journal posts) assigned to him, but they don't show in the results

    https://test.cbmw.refsites.com/author/michael-carlino/

    #46916
    eric@reformedmedia.com[email protected]
    Participant

    I was in contact with the theme developer and they offered a code snippet solution. They are discussing whether to implement it into the theme code.

    this is what they gave me and it worked for Blocksy
    https://wpdevdesign.com/how-to-add-cpt-entries-in-author-archives/

    Thank you for looking into it with me.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.