Forums

How to make a page display a list of pages? (4 posts)

  1. txsigma
    Member
    Posted 2 years ago #

    Hey team,
    Here is what I am wanting to do...I run a camera lens review site with articles and guides and whatnot. I have a main Reviews page that I am wanting to auto-populate with a list of every page that I have "reviews" as a category. I am looking for a photo, the title of the article, and he first 20-30 words of the article.

    Is this something that wordpress can do natively? Or a plugin?

    A HUGE thanks in advance!

  2. vtxyzzy
    Member
    Posted 2 years ago #

  3. txsigma
    Member
    Posted 2 years ago #

    vtxzzy - thanks alot for your help, thats definitely a step in the right direction!

    I have it working so far, but it posts the full version of the post...i was hoping to have more of a directory of posts something similar to

    http://gameimprovementirons.com/game-improvement-irons-list.html

    (on the left hand side with the summary/pictures)

    any ideas? thanks again!

  4. vtxyzzy
    Member
    Posted 2 years ago #

    Then you will need a template for your page. You first need to find which php file is used to display your category. It is probably category.php.

    Make a copy of it and name it category-44.php, replacing 44 with the category id you used in the URL.

    Now, edit category-44.php and change 'the_content()' to 'the_excerpt()'.

    That should do it.

Topic Closed

This topic has been closed to new replies.

About this Topic