Conditional Display of Posts
-
Can anyone give me an idea how to do the following:
- I have individual private users who have their own private pages.
- I’d like to be able to display specific messages to these users on their private page.
- I am using PHP-Exec so I can execute code right on a page instead altering the theme’s template.
What code would I have to write to call the texts of posts titled as the login name of the private user so that only those posts appear as messages on that specific user’s personal page?
I searched for a plugin that would allow me to insert some short code on the page, for example [admin message] to display messages I would send from my admin panel to individual users. Since I don’t have time to hack my way through creating such a thing, I am trying to bend the “post” feature into doing something close to this.
Thanks for any help that is offered.
- The topic ‘Conditional Display of Posts’ is closed to new replies.