Site logo

[Support request] Create layout/block to display events custom post type

Home Forums Support [Support request] Create layout/block to display events custom post type

Home Forums Support Create layout/block to display events custom post type

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1952512
    Dom

    Hi,

    Is it possible to create a block or layout to display a custom post type such as for events? Or can it only work with standard post?

    Many thanks in advance

    #1952540
    Ying
    Staff
    Customer Support

    Hi Dom,

    Not sure I understand your question, are you referring to block element – content template?
    https://docs.generatepress.com/article/block-element-content-template/

    If so, it does work for CPT as well.

    Let me know if you need further assistance 🙂

    #1952660
    Dom

    Hi thanks for replying.

    Yes I have the events plugin by modern tribe and wondered if I could style their events differently instead of using their plugin templates.

    I just tried to make an element type ‘article’ then selected ‘post with term’ but then in taxonomy I can see ‘tribe_events_cat’ then do I enter the event category I want to template or will it work with a blank and apply all events?

    Many thanks for your help

    #1952663
    Ying
    Staff
    Customer Support

    Please check the screenshot below:
    https://www.screencast.com/t/mOOF6ylV

    You can leave the option in red box as it is.

    For location (blue box), choose the CPT archive that you want this content template to be presented.

    Let me know how it works. 🙂

    #1953956
    Dom

    Hi Ying,

    Great this is what I need. Haven’t had chance to put it fully into practice yet but looks right to me. Many thanks for your help!

    PS: do you use BB Press for your forum? If so do you know what theme you are using for the forum and how you managed to display avatars for users?

    Many thanks.

    #1953977
    Ying
    Staff
    Customer Support

    Yes, this forum is using BB Press.

    For question related to BB press, Unfortuanly I’m not familiar with the plugin, it’s better reach out for their support 🙂

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