• Resolved Jonah

    (@jonaho)


    Hi Mihai,

    Is there a way to re-use existing post types (regular posts) and categories without modifying the plugin code? E.g. using a hook or similar.

    Best,
    Jonah

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iova.mihai

    (@iovamihai)

    Hey Jonah,

    I’m not sure exactly what you’re trying to achieve, so it’s quite difficult to answer this right away.

    Do you have posts you’d like to transfer to the knowledge base? Or do you have posts you’d like to keep as posts, but also have as articles in the knowledge base?

    Cheers,
    Mihai

    Thread Starter Jonah

    (@jonaho)

    Hi!

    As we’re using the default post type for posts that should be shared between the knowledge base and other means of presenting, it would be great to keep them as posts and listed by the plugin.

    If not, I’ll spend some time looking into your source code to find a way to hook into the post type.

    All the best,
    Jonah

    Plugin Author iova.mihai

    (@iovamihai)

    Hey Jonah,

    Out of the box it will not work as you need it. The plugin handles only its custom post type. However, you may be able to accomplish what you need by overwriting the plugin’s templates with custom ones.

    For this you would need to create a folder, named “wp_knowledgebase”, in your theme’s folder and add the custom templates there. This way any updates to the plugin will not result in issues on the user end.

    All the best,
    Mihai

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Re-use of existing post type and categories’ is closed to new replies.