• Resolved Thenook

    (@thenook)


    Hello,

    I have done this before somehow, but cannot remember how to do it on a new site.

    I have one page button on my navigation bar actually link to a category list instead of a page, (cars for sale).

    I want the category list to show excerpts instead of full posts. I have googled and searched here for the for way to change “the_content() and c to the_excerpt()“.

    However I cannot find that content text anywhere but the index.php file, which doesn’t change category view of course. My theme doesnt have home or category.php.

    Is there someplace special I have to change the category view to show excerpts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • archive.php? That’s what controls mine…..

    Thread Starter Thenook

    (@thenook)

    my archive only has:

    <?php get_header(); ?>

    <div id=”contentmaster”>
    <div id=”contentheader”></div>
    <div id=”content”>

    <?php include (TEMPLATEPATH . ‘/theloop.php’); ?>

    </div>
    <div id=”contentfooter”></div>
    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    looks like theloop.php is controlling the content there

    Thread Starter Thenook

    (@thenook)

    That may have helped, but not quite all the way. I did find the content term to change to excerpt, and it appears to have made an excerpt….

    take a peek at a site I’m doing for a car shop:

    https://alignmentguys.com/?cat=3

    That category has one test car for sale. It appears to be an excerpt because at the end of the text it has the […] but when I click on the title, there’s no text. Not sure if I broke something.

    This category will eventually have several posts of cars for sale, which is why he wants the shortened excerpts.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘question about Excerpts’ is closed to new replies.