How to not display full posts on my category pages?

Discussion in 'Blogging' started by MyEggNoodles, Feb 26, 2008.

  1. #1
    I would be greatful if someone could point me in the right direction as to how I only display the first line or two from each post in my categories?

    Thanks in advance :)
     
    MyEggNoodles, Feb 26, 2008 IP
  2. DomainCo.US

    DomainCo.US Well-Known Member

    Messages:
    2,124
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    100
    #2
    put in the more tag <!--more-->
     
    DomainCo.US, Feb 26, 2008 IP
  3. Emathia

    Emathia Active Member

    Messages:
    917
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    And then below <!--more--> add the content you want users to be able to read when they click more.
     
    Emathia, Feb 26, 2008 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Replace

    <?php the_content(); ?>
    Code (markup):
    with

    <?php the_excerpt(); ?>
    Code (markup):
    in your search.php.
     
    mizaks, Feb 26, 2008 IP
    MyEggNoodles likes this.