Hello 🙂 I’m working on my second plugin and this one needs to display dynamic content rather than working from within the publishing system.
I’ve got my files in the plugin’s folder and I’ll be linking users directly to them as users who are not specifically designated as allowed should not see these pages.
I did this:
define('WP_USE_THEMES', true); require('../../../wp-blog-header.php');
and it just outputs the homepage of my WordPress installation. Can I somehow override the content it’s displaying? I’ve been searching for two days on Google and it just keeps showing me more articles about inserting pages or posts into the database and I definitely do not want to use that approach.
- The topic ‘Dynamically Generating Content Without Using Publish Features’ is closed to new replies.