How to add "recent posts with (tag)" to a static page

9 replies
  • WEB DESIGN
  • |
ok so I am rebuilding and redesigning my web site (sig) after finding out I was blogging all wrong.

Now I am setting up an elaborate site that not only has a blog but has pages as well for information. When someone goes to the menu and clicks lets say "storage" I want the top of the page to display the 5 newest posts with the tag "storage" and below it to be the rest of the static page that talks about storage.

How can I do this, and is there a plugin for this so I can easily do this with all my static pages (with different tags of course)?
#add #page #recent posts with tag
  • Profile picture of the author jargonbust
    no idea what are you saying
    is it possible
    {{ DiscussionBoard.errors[3593592].message }}
  • Profile picture of the author Theory5
    Ok, so I have a bunch of static pages. but I also have a blog. I want a static page that displays 5 latest blog posts with a certain tag at the very top, and below it I want to be able to use it like a regular static page.
    So on the static page called "storage" I want the top of that page to display the 5 latest blog posts with the tag "storage".
    Take a look here:
    Storage | ZDNet

    I want something like the "today's must reads" on my static pages. Does this help you understand what I am asking?
    {{ DiscussionBoard.errors[3593650].message }}
  • Profile picture of the author Theory5
    I know there are plugins for putting the most recent posts on a static page, I just need to know how to put the most recent posts with a certain tag on a static page.
    {{ DiscussionBoard.errors[3597619].message }}
  • Profile picture of the author jlandells
    If you use categories instead of tags, then this is really easy using the menu functionality in Wordpress. When creating your menus, you can assign them to a category, instead of a page, which should give you the result you're looking for. On the other hand, if you really want to do this with tags, let me know and I'll look up the links that you need.

    Kind regards,
    -John.
    {{ DiscussionBoard.errors[3597665].message }}
  • Profile picture of the author Theory5
    John,
    I would prefer tags, because that will allow more flexibility than categories.
    Thanks
    {{ DiscussionBoard.errors[3597837].message }}
    • Profile picture of the author sylviad
      If you want to add tags, you'd have to create it as a Post, rather than a page, but I have no idea how you'd keep the static part at the bottom unless there is a plugin that allows it. Maybe you need to be looking for a WP Theme or have one adapted to meet this need.

      I have a theme produced by Matt Carter of Rapid Profit System. It provides a separate section at the bottom of the static home page to show a series of product images and links to those posts. Sounds like you need something like that, only this one only allows images, not posts.

      Hope this helps.

      Sylvia
      Signature
      :: Got a dog? Visit my blog. Dog Talk Weekly
      :: Writing, Audio Transcription Services? - Award-winning Journalist is taking new projects. Warrior Discounts!
      {{ DiscussionBoard.errors[3598610].message }}
  • Profile picture of the author Theory5
    Actually I found a plugin after a while of searching, its called getpost, and there is a certain piece of code that does what I want.

    EDIT: whoops, nope im wrong. It only lists the titles of posts with the specified tag
    {{ DiscussionBoard.errors[3598743].message }}
  • Profile picture of the author jlandells
    You can easily add a menu item to give you a page of posts with a specific tag by using a format such as:

    yoursite.com/tag/some-tag

    The key parts are the word 'tag', then the tag itself, with spaces replaced with a dash (-).

    However, since by default you can't tag pages, if you need that functionality, you'll either need a plugin or need to do some coding yourself.

    Hope that helps!

    Kind regards,
    -John.
    {{ DiscussionBoard.errors[3600677].message }}
    • Profile picture of the author Theory5
      Originally Posted by jlandells View Post

      You can easily add a menu item to give you a page of posts with a specific tag by using a format such as:

      yoursite.com/tag/some-tag

      The key parts are the word 'tag', then the tag itself, with spaces replaced with a dash (-).

      However, since by default you can't tag pages, if you need that functionality, you'll either need a plugin or need to do some coding yourself.

      Hope that helps!

      Kind regards,
      -John.
      I'm not sure I follow. I want a specific static page to display recent posts in a container, a specific window.
      {{ DiscussionBoard.errors[3600692].message }}

Trending Topics