WordPress.org

Ready to get started?Download WordPress

Forums

2010 theme, category pages and the_content filter (3 posts)

  1. Steve
    Member
    Posted 3 years ago #

    I've got a plugin and I've just found that

    add_filter( 'the_content', 'my_function');

    doesn't seem to fire on Category pages (rendered using the category.php file in the 2010 theme)

    So how do I get it to fire>

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    twenty ten outputs the excerpt on category pages.

    what are you trying to achieve?

    you may need and try to use the filter on 'the_excerpt' as well

  3. Steve
    Member
    Posted 3 years ago #

    I realised that when I was sitting in the car driving to work this morning!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.