• Resolved hannesvanas

    (@hannesvanas)


    I am building a church website. We want to setup a custom content type for sermons that will contain the following:

    1. Sermon Title
    2. Preacher
    3. Scripture Passage(s)
    4. Main verse(s)
    5. YouTube Link

    The Sermon Title, Preacher, and Youtube Link fields should not be a problem. What we are struggling with is the Scripture Passage(s) and Main Verse.

    When creating the sermon listing we would like to be able to choose the Bible Book from a list, then choose the chapter from a list that is linked to the Bible book, then choose the verses from an array. E.g. Book – John, chapter – 3, verses – 16-20. This should then be displayed as John 3:16-20.

    The different Bible books have a different number of chapters, and the chapters have different number of verses. So I guess the Bible books, chapters, and verses will need to be setup up somewhere first, so they can be selectable when the Sermons are set up.

    One should also be able to add more than one Scripture passage, since sometimes more than one is read during the sermon as part of the Scripture reading.

    The main verse(s) are focus verses, most often from the Scripture reading itself, but sometimes from a completely different Bible passage.

    I guess if the Books, chapters, and verses are set up correctly the exact same functionality can be used for both Scripture Passage(s), and Main Verse(s).

    In the end we want visitors to the site to search for sermon by Title, Preacher, Scripture passage, or main verse.

    Should we create the Bible Books as separate content types, each with their own fields with number of chapters. And then the chapters as separate content types, each with its own fields with number of verses? Or is there a better/easier way to do this – maybe simply with fields/relationships?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Should we create the Bible Books as separate content types, each with their own fields with number of chapters. And then the chapters as separate content types, each with its own fields with number of verses? Or is there a better/easier way to do this – maybe simply with fields/relationships?

    Correct, I would have set it like this. If each chapter can only “live” within one book then you could also use the CPT hierarchy and create chapters as children of a book but personally I think setting them as separate CPT would be more flexible.
    I would advice to set it up als bi-directional relationships so you can relate the exact scriptures to the sermons and from these scriptures you can fetch the related book etc.

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Bible References’ is closed to new replies.