I would like to embed a list of posts specific to a category inside of a post. For example, an article on WordPress should include a listing of all the posts I've made under the category (or subcategory - using the category ID number) "wordpress".
This is different from a listing in the sidebar. I want it INSIDE the post.
I've searched all over and looked through the template tags and am coming up empty. This should be a logical function.
There is a related posts plugin ?
Nope. Got that running. Sits in the sidebar. I want it in the post. Put a box around it. Make it pretty.
I got a lot of these. It's really different from related as it is the specific list of ALL of the posts within a category, not just the top 5 most likely related posts.
I want to be able to say: If you are looking for posts about WordPress, here is a list of the posts I've written.
I've been through the get_links, wp_get_links, and various templates and none of them work when added directly to a post. I'm sure they work fine from within the loop, but I need something to list the posts from a specific category from within the post.
Ideas?
I still need help with this, but this is what I've learned.
1. In order to run PHP inside of a post, you have to have a plugin like RunPHP installed.
2. I've tested several of the template tags like get_links inside of a post with RunPHP running, and nothing happens.
Any other ideas out there?
Joshua Sigar
Member
Posted 7 years ago #
RunPHP should work, but here is another similar plugin
http://www.navidazimi.com/projects/wp-exec/. tested only in WP1.5g
I just found it. I'm going to read through the documentation and give it a try. Looks like it will be brilliant. And when did the versions start getting letters? I'm missing something here.
perywinkle
Member
Posted 6 years ago #
Is there any news Lorelle? Did you get it to work!