• Resolved lassial358

    (@lassial358)


    Hello,

    I’d appreciate a tip in getting started customizing the /category/ page.

    I’d like replicate the behavior I have on the front page to show only excerpts, but I’ve totally forgotten what I did to enable even that.

    A support thread I found here doesn’t seem to be readily applicable to Tiny as it doesn’t come with post.php.

    Looking at https://codex.www.ads-software.com/Category_Templates neither matches anything I see on my Tiny f-w child theme to get started.

    From which PHP file should I start from?

    Best,
    L

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    The easiest way is to use MORE tag in the posts (place cursor in the editor and click MORE button). This way you will tell WordPress were to cut the text while displaying archives/categories.

    You can also enforce automatic excerpts (try to use search function and you will see how they look in Tiny Framework), but they are not without shortcomings. In my experience MORE tag is flexible and gives best results.

    Thread Starter lassial358

    (@lassial358)

    Thanks Thomas for the reply,
    however, it didn’t quite help.

    Luckily, I finally remembered what I did for the homepage; modify content.php and lines 78-80 which for me now contain

    <?php if ( is_search() || is_home() || is_category() ) : ?>
    <?php tinyframework_excerpt();?>

    that is, forced excerpt for Search, Home and Category pages. The is_category rule was added.

    However, I don’t think MORE is the best solution.

    At least I use a separate SEO plugin (All in One for me) and write 150 ch descriptions for the articles – that’s what I’d ideally like to use. I think I could try that next when I have the time to do it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customizing category page’ is closed to new replies.