• Resolved WPML

    (@wpml)


    After someone clicks on a category I would like only the title of the post to display, not an excerpt or the whole post. I’ve tried a few things but they didn’t work, any suggestions? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Depends on theme … open your theme’s category.php file if you have one. If no category.php, then open your theme’s archive.php with text editor. Either delete or comment out<?php the_excerpt(); ?> or <?php the_content(); ?>

    Thread Starter WPML

    (@wpml)

    Thanks mercime, I just found this in my archive php (no category php page)-

    <?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>

    and erased it all and that did it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I ONLY show post title in archive results?’ is closed to new replies.