WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Fourteen
[resolved] Exerpts on category pages (4 posts)

  1. notdweller
    Member
    Posted 2 months ago #

    Is there a way to show posts exerpts instead of the whole post on the category pages?

    Thanks in advance

  2. WPMU DEV
    Member
    Posted 2 months ago #

    Hi @notdweller,

    If i am not wrong then i think you want to display posts excerpts instead of the whole post on the category archive page.

    You can do so by overwriting content.php theme file in a child theme and editing it on line number 47 as following.

    Before Editing:

    <?php if ( is_search() ) : ?>

    After Editing:

    <?php if ( is_search() || is_category() ) : ?>

    Best Regards,

  3. notdweller
    Member
    Posted 2 months ago #

    It worked
    Thank you very much, i appreciate it

  4. WPMU DEV
    Member
    Posted 2 months ago #

    You are most welcome.. :)

Reply

You must log in to post.

About this Theme

About this Topic