• Resolved ronald.fuquay

    (@ronaldfuquay-1)


    So I am trying to develop a custom archive page for a CPT (Sermon). The Sermon CPT has a custom taxonomy of Sermon Series.

    I want the archive page to behave in a way that instead of showing one sermon entry for each sermon in a series, show a single entry for the series that send you to the series archive, otherwise if it’s not part of a sermon series, show the individual sermon.

    Here is a link to a diagram of what I am trying to achieve.

    Is this even possible using WordPress’s capabilities?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ronald.fuquay

    (@ronaldfuquay-1)

    I just realized that the image I posted above had some conflicting naming conventions (sermon vs message) here is an updated diagram with unified terminology. Link to Diagram.

    Hi.
    How about make a parent page for a series of a sermon?
    Then exclude child pages for Sermon archive page, like so 'post_parent' => 0.

    Thread Starter ronald.fuquay

    (@ronaldfuquay-1)

    Hmmm… I think I see what you’re saying @ikaring !

    I would have to make the CPT hierarchal, then I could have two different post templates, one for series (so it displays its children to click through to) and one for single sermon.

    Lastly, I could just throw in a checkbox to disable the series parent from the rss feed so that it doesn’t populate in our podcast.

    Thank you so much!

    • This reply was modified 5 years, 7 months ago by ronald.fuquay. Reason: forgot to mark as resolved
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom wp_query question’ is closed to new replies.