What I want to do should be simple enough (I think).
I wan to be able to list the post titles within a page, without altering the template files.
Because I do not want to do this on all pages.
You need to PHP Exec plugin (here), to execute php within a post or page area. Then, in the post (or page) you want the listing, use the php you want to call on the database – probably something like this <p><?php wp_get_archives('type=postbypost&limit=20&format=custom'); ?></p>
See http://codex.wordpress.org/Template_Tags/wp_get_archives to tweak the results of what shows up….
Viewing 1 replies (of 1 total)
The topic ‘How to list posts within a page’ is closed to new replies.