Best way of implementing custom post type frontend?
-
Hi,
I am currently developing a plugin which incorporates a custom post type.
Upon activation of the plugin and the user adding a new post, there should be a section in the front-end to show it.
I could use the cpt archive/single page however I need to show some more options in addition to the post and that will require customizing both the archive/single pages.
The issue is that if I do that, it will not work with all WordPress themes.I thought of creating a shortcode and automatically create a page containing that shortcode that will handle everything but it will be like reinventing the wheel. Or is this the only way?
Or is it Utopian to believe that it can work with all themes?
Edit: I forgot the use of content filters. That’s another option.
Thanks
- The topic ‘Best way of implementing custom post type frontend?’ is closed to new replies.