post into a page without template
-
Hi
I’m wondering if there is already a plugin that allow posts to be display into a wordpress page without being force to manipulate a template ?
I came to this idea because for doing so I did create a shortcode in order to do so .. so the code is not perfect but it works (and i m not good enough at the moment to make this into a plugin, but if someone want to give a try ?? ). but if an existing plugin can do so, that would be great.
Thanks
Frederic
just in case, here’s my code for the shortcode
you have to put this into the function.php file into your template folder[code moderated per forum rules - please use the pastebin for any code longer than 10 lines]
then for example inside a page just add the code:
[loop category = "member" number = "1"] [loop category = "partners" displaycat = "false"]
this will display 1 posts from member category
posts from partners catégory without the category being displayedin theory you can use that inside a posts but that can cause a Rip in Space-Time Continuum so please avoid ??
- The topic ‘post into a page without template’ is closed to new replies.