Well, I found the code in this page and I changed generate_after_entry_header with this:
add_action( 'generate_after_main_content', function() {
if ( is_category() ) {
echo 'what you want';
}
} );
And “what you want” it only appears in category page -:)
Great, and thanks to more, I solved it again with your work -:)
-
This reply was modified 5 years, 11 months ago by
FeliceAntonio. Reason: correction
-
This reply was modified 5 years, 11 months ago by
FeliceAntonio. Reason: correction my spaghetti language
Theme Author
Tom
(@edge22)
Glad you found a solution! Thanks for sharing it here 🙂