• Kaplaink

    (@kaplaink)


    How do you get ‘Category Pages’ to show a fixed sized thumbnail image plus a standard excerpt (finishing wit Read More link)?

    When I publish a post, and assign it to a category, it automatically post the whole article, including whatever image sized used in the post, on the Category Page.

    (currently I use the manual excerpt function, but it looks unorganized and the images not standardized)

    I have found an article explaining about below ..but I’m still blank on what change and which template/file. please help!
    category-slug.php
    category-ID.php
    category.php
    archive.php
    index.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael

    (@alchymyth)

    this is theme specific – please post more relevant details; https://codex.www.ads-software.com/Forum_Welcome#Include_as_much_information_as_possible

    what theme are you working with?

    Thread Starter Kaplaink

    (@kaplaink)

    Sorry, but thanks for taking the time to inform me.

    I’m using TwentyTwelve Version 1.2

    Here is an example of what I’m trying to avoid (sorry it’s in Chinese). If you click the 3rd top menu from the left (has 3 sub menus) – you will see that in this pages it will show all the articles that belong to the 3 sub categories in their full length and image size.

    I Would like them to be shown with a fixed sized Thumbnail image and excerpt.

    How can I achieve that?

    (if you view with Google Translate it will translate the 3rd menu to Life Information and the 3 sub menus as Spanish Culure, Spanish Cusine, Andalusia Golf)

    Michael

    (@alchymyth)

    this might be a good start: https://zeaks.org/2012/display-excerpts-in-twenty-twelve-theme

    change the one code near the top of the article to:

    <?php if ( is_search() || is_category() ) : // Display Excerpts for Search and Category Archive ?>

    Thread Starter Kaplaink

    (@kaplaink)

    Hey alchymyth,

    Wouldn’t I need to do all of the steps mentioned in order to accomplish it all?
    If you take a look here, this kid of alignment and standard look is what I I’d really like to achieve (or alternatively here)

    Display excerpt for Category Archive – but isn’t this part of the problem, that I haven’t set any Category Page to be the a Category Archive Page?

    Thread Starter Kaplaink

    (@kaplaink)

    I tried to change the code as you’ve given but the result was it removed all images for the post listings on the category page and continued to show the posts in full length.

    I have learned that each of the 3 sub menus on my site for Main Menu 2 & 3 are actually posts (working as sub menus)i.e.

    Main Menu 1 (Home)
    Main Menu 2 (Category)
    – Sub Menu 1 is a post
    – Sub Menu 2 is a post
    – Sub Menu 3 is a post

    Main Menu 3 (Category)
    – Sub Menu 1 is a post
    – Sub Menu 2 is a post
    – Sub Menu 3 is a post

    All I want to do is to show excerpt plus thumbnail of the 3 sub menus (posts) on their Category page.

    Please help ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured image & Excerpt ..how do you do it!! :)’ is closed to new replies.