WordPress.org

Ready to get started?Download WordPress

Forums

Show ALL Post Titles on one Category Page (2 posts)

  1. sincewelastspoke
    Member
    Posted 3 years ago #

    Hi,

    I have 2 categories on my web site.

    Blog & Portfolio.

    I'd like in my 'Portfolio' page to list all my posts from that category (cat = 3) in a list like:

    Work 1 / Work 2 / Work 3

    Can someone please explain how to do this?

    Many thanks for any pointers.

  2. chinmoy
    Member
    Posted 3 years ago #

    create a clone of category page(if have category.php file otherwise copy all code from archive.php page and paste in new file) and give a name of new file is category-3.php or category-portfolio.

    Now remove the_content() or the_excerpt(), the_author(), the_time(), the_category() etc. if you only want to display "post's title", so don't remove this thing <?php the_title() ?> .

    Now create a design according to your choice(how you showing the post).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.