• Hello!

    I want to have a category archive, but I can’t get it to show the summary. There’s an option in settings > reading where you can change it from full text to summary, but that doesn”t seem to be doing anything.

    I’m using Twenty Fourteen.
    Example page: https://www.basdejonge.nl/category/minor

    All help is appreciated.
    Thanks in advance,
    -Bas

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would suggest you create a child theme and copy the content.php file into it. You can make the following changes

    Search for <?php if ( is_search() ) : ?> and change it to <?php if ( is_search() || is_category() ) : ?>

    Explanation: When content is being sent back, content.php checks if the page being displayed is a search results page. If yes, it displays on the excerpt. The above modification will send back the excerpt if the page being displayed is either a category archive or search results page.

    More: How to create a child theme at WordPress Codex

    Thread Starter Cyranh

    (@cyranh)

    I can’t get it to work. Even if I use a theme editor plugin, my website just completely resets to the standard twenty fourteen when activating the child theme…

    Thread Starter Cyranh

    (@cyranh)

    Does using @import url(‘../twentyfourteen/style.css’); still work?

    Thread Starter Cyranh

    (@cyranh)

    I changed the official content.php in my main theme now and that works too. Can someone explain why my child changes the entire theme?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category Archive only shows full post…’ is closed to new replies.