Endpoint with custom content/template
-
Hello,
I have to create a plugin using endpoints (or rewrite rules) to make virtual pages (not manually created in the backend) having custom content coming from the plugin functions.I looked at ‘template_include’ filter, but this template replaces all theme html (header, main content, footer…) and I’m looking to make the plugin not dependant from theme.
I’ve looked also at shortcodes, but these are inserted in pages made in the backend.
What is the correct approach to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Endpoint with custom content/template’ is closed to new replies.