• ofeliacastro

    (@ofeliacastro)


    Hey. I’m having a problem. In my categories after so many lines or words, I get this:
    […]
    I would like to just display the full post or increase the limit to a higher number. How would I go about doing this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Chris_K

    (@handysolo)

    Does your current theme have a category.php file?

    If so, edit that file and replace the_excerpt with the_content.

    MichaelH

    (@michaelh)

    You’ll need to figure out what Template is displaying your Category archive–see Template Hierarchy to figure that out.

    Then you’ll probably find that Template Tag, the_content, needs to changed.

    Also see:
    Customizing_the_Read_More

    Thread Starter ofeliacastro

    (@ofeliacastro)

    What if my theme does not have a category.php?

    Kafkaesqui

    (@kafkaesqui)

    Add it. Easy way to do this, make a copy of your theme’s index.php and name it category.php.

    You could also follow Michael’s link to the Template Hierarchy doc that explains the template fallback logic for the various query types in WordPress. That will tell you which template your theme is using for categories, and so which one you need to edit.

    Thread Starter ofeliacastro

    (@ofeliacastro)

    Ok, it’s archive. But I don’t want to replace it with the content. I don’t want a character limit, but the content only adds a “read more” link, right?

    Chris_K

    (@handysolo)

    Only if the post has a manually added <!--more--> tag.

    Try the_content…

    Thread Starter ofeliacastro

    (@ofeliacastro)

    Thanks! Finally got it to work! Thanks for the help guys!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change the word/character limit in Categories?’ is closed to new replies.