WordPress.org

Ready to get started?Download WordPress

Forums

Display all the categories in a page (11 posts)

  1. xionhack
    Member
    Posted 3 years ago #

    Hello. I'm looking for a plugin or a hack that allows me to display all the categories (only the titles of the categories, not of the posts) in a page. I have a LOT of categories and would like to have something to display it like that. Thanks!

  2. @mercime
    Volunteer Moderator
    Posted 3 years ago #

    Create a Page Template, and replace <?php the_content(); ?> template tag with <?php wp_list_categories(); ?>

  3. drezac
    Member
    Posted 3 years ago #

    Hey there!

    In this same vein I'd like to create a page that just displays the posts (or just the titles) from ONE category. Can one of you help me do this?

    I have a page titled Tutorials, and I'd like just my posts that are tutorials to populate there.

    How do I do that?

    Thanks!

    Daniel

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    http://codex.wordpress.org/Pages#A_Page_of_Posts

    Next time, please start a new topic.

  5. drezac
    Member
    Posted 3 years ago #

    I'll remember that, however I knew you would answer my Q promptly. :-)
    Since I'm new to wordpress, I'll ask another question:

    Sorry, I'm a little new to this.

    I'm in my WordPress Dashboard, and I don't see a function for creating a Page Template. Do I just create a new PAge and dump this into the HTML tab?

    Maybe there's a place on the WordPress help that takes a user through this Step by Step.

    Daniel

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    you could search the codex for page templates! Theres a tuitorial

    http://codex.wordpress.org/Pages#Page_Templates

    you can't make them through WP. They are php files

    You could copy page.php and rename it to start. Then it would be available in the theme editor for you to monkey with

  7. drezac
    Member
    Posted 3 years ago #

    My theme came with a template Called Featured Posts. It makes sense that I could just use this, but I don't really know what to do with it. Didn't come with any instructions.

    I could just modify this template with the Posts per Page code, but again, when I create a new page and use this template, I'm not really sure what to do next.

    DR

  8. drezac
    Member
    Posted 3 years ago #

    Isn't there just a line of code that will reference a Category or tag and display the posts from those cats or IDs? Either in list form or full. I don't care which.

  9. esmi
    Forum Moderator
    Posted 3 years ago #

  10. drezac
    Member
    Posted 3 years ago #

    All I want to do is create a Page that displays the posts from a Category.

    Step 1. Click here....
    Step 2.
    Step 3.
    Step 4.
    Step 5.

    ?

  11. drezac
    Member
    Posted 3 years ago #

    This can be done with a simple plug-in:

    http://foro.picandocodigo.net/viewtopic.php?f=28&t=251

    Thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic