Embed list of specific category posts in post (9 posts)

  1. Lorelle
    Posted 11 years ago #

    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.

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    There is a related posts plugin ?

  3. Lorelle
    Posted 11 years ago #

    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.

  4. Lorelle
    Posted 11 years ago #

    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.


  5. Lorelle
    Posted 11 years ago #

    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?

  6. Joshua Sigar
    Posted 11 years ago #

    RunPHP should work, but here is another similar plugin
    http://www.navidazimi.com/projects/wp-exec/. tested only in WP1.5g

  7. Lorelle
    Posted 11 years ago #

    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.

  8. Kafkaesqui

    Posted 11 years ago #

    WP1.5g = WP1.5 gamma

  9. perywinkle
    Posted 10 years ago #

    Is there any news Lorelle? Did you get it to work!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.