Shortcodes vs Virtual Pages
-
I’m trying to find out if there are any best practices for using shortcodes vs virtual pages in a plugin. Currently I’m developing a plugin that does both.
It provides a handful of frontend virtual pages that “just work” for general users including the ability to select page templates for these virtual pages (theoretically). The virtual pages process shortcodes to display content thereby making shortcodes available to users to use in their pre-existing pages. Also, you can override the virtual pages by simply create a page in through the backend, using the same slug structure to override nested virtual pages, and create your own.
Is this is a good or bad practice?
Is there another way I should be thinking about this?
- The topic ‘Shortcodes vs Virtual Pages’ is closed to new replies.