• Hello All,

    I need some direction.

    I’m trying to find a way to render content from my plugin to the frontend (‘viewer’).

    The catch however is that I would like to use a directory structure for this; for example:

    Currently I have an informational page setup for employees so the url is as such:

    mydomain.com/employees

    If an employee logs in I would like to make them go to mydomain.com/employees/profile or whatever variations of profile necessary to show different content only when they are logged in

    In thinking about it, the htacess seems like the most logical place for this stuff since I can create a page and include the plugin with short codes / template tags and then have the .htaccess catch the specific url above and render the page using the structure I require.

    The other option would be to create a category and then check if we are in that category in the plugin and render the content accordingly. This option would likely be much more plugin friendly since there would be no additional need to edit files after installing the plugin.

    I don’t plan on publishing this plugin since it’s for a specific client and very specialized so edit files isn’t a big deal but upgrading WordPress will probably be complicated.

    So what are your guys/gals thoughts on this?

    Thanks in advance!

    Nick

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Loading Plugin Content on Site….’ is closed to new replies.