Issue with wp_trim_words()
-
I am using the Genesis child theme “Focus”, and I cannot get the plugin to display my category landing page properly. It is returning a Genesis filter error that there is no content that could be found. I have scoured the code for the child theme, and there is nothing there that should have this effect. If I revert to the Parent Theme Genesis, the problem goes away.
I have worked my way through the code, and found that the issue has to do with line 74 in template_handling.php:
add_filter( 'wp_trim_words', 'wp_ccp_plugin_fix_fake_content', 99999 );
If I comment it out or change to:
add_filter( 'wp_trim_words', $text,...
the Genesis error goes away, and I get the links to the posts like I am after.
However – the title to the most recent post is still being displayed.
- The topic ‘Issue with wp_trim_words()’ is closed to new replies.