Filter exerpt

Posted in: Newspaper
Post count: 209

Hello,
in the category display view of a certain category I’d like to add a string to the (manually added) exerpts. But a filter on get_the_excerpt in my functions.php seems to have no effect on the output of the exerpt
add_filter( 'get_the_excerpt', 'function_adding_something' );
How can I manipulate the exerpt-output in a special category?

  • This topic was modified 8 years by be2name.
Post count: 20685

Hi,

The main function for the excerpts displayed in modules is defined here
https://www.screencast.com/t/0IkS3CmW
The excerpts will be shown in each module that is supposed to display them
https://www.screencast.com/t/qx8sA2rHn
Excerpt content can be customized for each post if you want to, or you can leave them as default
https://www.screencast.com/t/7HZWAOz5
Maybe this is helpful to what you want to do.

Thanks

Post count: 209

Thank you, Simion.
But manipulating the excerpt in tp_modules.php has no effect on category-templates created with the tagdiv-composer. Where can I change this output?

Post count: 20685

That is a different module in the cloud plugin files
https://www.screencast.com/t/zNhDQ2Gh7ZrS
Main function here – https://www.screencast.com/t/tEfwTm1wFwL

Post count: 209

I was now able to edit this in the main function of the cloud plugin. Thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.