Support » Plugin: WP Customer Area » Plugin conflicts with code to edit WordPress Excerpt Length

  • Resolved shaunbowen


    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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.