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

  1. Steve
    Posted 4 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. Michael
    Part-Time Forum Moderator
    Posted 4 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
    Posted 4 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


No tags yet.