Forums

[resolved] HTML in page to show posts of a certain category (7 posts)

  1. alxcrbie
    Member
    Posted 1 year ago #

    Is there html you can use in a page to simply show posts of a certain category.

    I have tried to do this using a separate page template and the get_post and get_category function but it isnt working and i cant believe it is this difficult to do something so simple.

    Any help will be greatly appreciated

    Alex

  2. vtxyzzy
    Member
    Posted 1 year ago #

    The Page Links To plugin should do what you want.

  3. alxcrbie
    Member
    Posted 1 year ago #

    thanks vtxyzzy, im sure the plugin works fine but i want to solve this with wordpress as it should be super easy. Like a html command (showposts="posts"). Most WP sites must have pages that do this.

    Il have another look at the codex.

    Thanks again

  4. vtxyzzy
    Member
    Posted 1 year ago #

    If you are using WP 3.x, and creating your own menu, there is an option to create a menu item that displays a category.

    That and the plugin are the easiest ways to go.

    This topic has been brought up many, many times. These are the easy answers.

  5. MichaelH
    Volunteer
    Posted 1 year ago #

    WordPress doesn't really have a "page to simply show posts of a certain category."

    Options are
    1. Use the plugin already described or find a different plugin
    2. Create a Page Template that displays the posts

  6. alxcrbie
    Member
    Posted 1 year ago #

    vtxyzzy just used the plugin - very simple. Great, it all works how it should.

    Many Thanks

  7. vtxyzzy
    Member
    Posted 1 year ago #

    Glad it worked. Now, please use the dropdown at top right to mark this topic 'Resolved' so that anyone researching this problem can see that there is a solution.

Topic Closed

This topic has been closed to new replies.

About this Topic