Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] GP excerpt length is overriding the page builder excerpt length

Home Forums Support GP excerpt length is overriding the page builder excerpt length

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #396853
    Marge

    Hi,
    Having issues with excerpt length and BeaverBuilder page builder. There is a function where user can change the length and ‘read more’ tags in the page builder. This function has no effect in Generate Press theme.

    Is there some way to ‘turn-off’ the blog post default length and “read more” tags so that the page builder will work? Or some way that GP would take a back seat to the page builder. Here’s an example page: See the Featured Jobs section. https://abilityjobs.com/new-aj-home/ The page builder settings have more link hidden and excerpt length 20.

    Thanks!

    Marge

    GP Premium 1.4.3
    #397052
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You could try this PHP:

    add_action( 'after_setup_theme', 'tu_remove_blog_filters' );
    function tu_remove_blog_filters() {
        remove_filter( 'excerpt_length', 'generate_excerpt_length', 15 );
        remove_filter( 'excerpt_more', 'generate_blog_excerpt_more', 15 );
        remove_filter( 'the_content_more_link', 'generate_blog_content_more', 15 );
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.