Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ali1632

    (@ali1632)

    I think I’ve found the custom excerpt, and can change it back to the standard. Resolving! 🙂

    Thread Starter ali1632

    (@ali1632)

    Have tried this, no results. What I believe is that the category page is not using ‘the_excerpt’ but I am not familiar enough with how these functions are called to be able to find it.

    This test proved they are different:

    function remove_shortcodes_from_excerpt( $excerpt ) {
    //return strip_shortcodes( $excerpt );
    return "show this text" . $excerpt;
    }
    add_filter( 'the_excerpt', 'remove_shortcodes_from_excerpt' );

    The above adds “show this text” to the front of the homepage excerpts, which are acting correctly, but does not affect the excerpts on the category pages, where the shortcodes are printing. I’m very new to this, and probably way over my head, but I’m hoping there’s a simple explanation, or an aha-moment of some kind, in my near future. Thanks for suggestions!

Viewing 2 replies - 1 through 2 (of 2 total)