Site icon Hip-Hop Website Design and Development

filter single_cat_title avoiding the breadcrumbs

I am growing a easy plug in and I have to filter single_cat_title in class web page including some html in each class web page.

Simply doing this:

perform subtitleCategory ($title) {
    return $title."</div></div></div><div class="container_24"><h2 id="category-subtitle">TEST1</h2></div>";
}

add_filter('single_cat_title', 'subtitleCategory');

I get what I would like. However I seen that this filter additionally apply to the breadcrumbs (there’s a name in breadcrumbs.php) and this implies twice in the identical web page (not what I would like).

Are you aware if there’s a situation that may be utilized to filter simply the title and never the breadcrumbs? I attempted in_the_loop, is_category, is_archive, is_tax and many others and many others with out success.

–edit–
Sure, breadcrumbs.php is a theme file and you shouldn’t take it in consideration. I am attempting to realize an admin panel the place your can put some textual content (with html) for each class and this article will be displayed simply after the title within the class web page. I am attempting to do that with a plug in and, for that reason, this cannot be coupled with any theme dependency.