Skip to:
Content
Pages
Categories
Search
Top
Bottom

create forum when a post is created


  • exarillion
    Participant

    @exarillion

    Hello,
    I want to automatically create a new forum when a post is published. Our forum structure will be like this:
    Forum
    -> General Discusion
    —–> topic 1
    -> Communities
    —-> Community 1
    —-> Community 2
    —–> General Discussion
    ——–> Topic 1
    —–> Posts
    ——–> Post 1
    ———> Topic 1
    Communities are type of post taxonomies. These forums will be created by hand when a new community is added. What I am trying to do is detect the post published with a hook (no problem here) and create the sub forum (post 1,2,x) under related community with same title and link these post-forum via either metadata od a new table in the. I couldn’t find a function to create this sub-forum in documentation. What are your suggestions here?

  • You must be logged in to reply to this topic.
Skip to toolbar