Plugin conflicts with code to edit WordPress Excerpt Length
-
Hi there, I have the WP Customer Area plugin, plus some paid add-ons installed on one of my websites. I have a piece of code in my theme’s functions.php file that adjusts the length of the post excerpt on the Archive pages:
//Filter the except length to 80 characters. function mytheme_custom_excerpt_length( $length ) { return 80; } add_filter( 'excerpt_length', 'mytheme_custom_excerpt_length', 999 );
When I activate your plugin, this code no longer works.
Do you have any suggestions of an alternative code I can use to avoid this conflict, or a reason why your plugin affects wordpress excerpts?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Plugin conflicts with code to edit WordPress Excerpt Length’ is closed to new replies.