wp_list_pages outside WP to point elsewhere?
I guess it’s a stupid title 🙂
Here is what I have: using WP to manage a site where there are 6-7 files in the root and the blog in a subdir. No Pages and Page list used in the blog.
The physical files in the root are basically copies of the theme index and made WP-aware – without the Loop.
Instead I am using the get-a-post plugin to call the content of Pages created in WP – in this way updating their content later will be easy.
I can use even the wp_list_pages tag on those files in the root to list the Pages… the only problem is the links (of course) would take the visitor to the blog – as opposed to go to another file in the root. I know I could manually code the list of the files in the menu, but what if they want to add newer files/Pages later?
Any smart idea about listing the Pages but having them point to the actual files where they appear?
- The topic ‘wp_list_pages outside WP to point elsewhere?’ is closed to new replies.