Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #365978

    Hi
    i want show more text in the preview of grid layout, blog posts and post slider. On the page (see link) you can dee the “latest News” widget on the right. There is more text in the preview. I want that in grid layout, blog posts and post slider

    How can i handle that?

    #366254

    Hey heufti65!

    Add this to the bottom of your functions.php file.

    add_filter( 'avf_postgrid_excerpt_length', 'enfold_customization_excerpt_size' );
    function enfold_customization_excerpt_size( $size ) { return 120; }

    And change 120 with however big you want the excerpt to be.

    Best regards,
    Elliott

    #367201

    Hi. Thats was exactly what i was looking for.
    How can i target with that filter also “Post Slider” and “Blog Posts” and the “Searching results” page?

    Thanks for help. Oli

    #367566

    Hi!

    Try adding this to the file.

    add_filter( 'excerpt_length', 'enfold_customization_excerpt_size' );
    

    If it’s not working in a certain area then send us a link to the page and we’ll take a look.

    Regards,
    Elliott

    #374028

    Hello,
    How to do this for the masonry blog preview text?

    best regards

    #374158

    Hey!

    Add this.

    add_filter( 'avf_masonry_excerpt_length', 'enfold_customization_excerpt_size' );
    

    Best regards,
    Elliott

    #547887

    Hey!

    I added the lines but nothing happened. You have any other suggestions?

    Regards

    #547892

    I added this:

    add_filter(‘avf_postgrid_excerpt_length’,’avia_change_postgrid_excerpt_length’, 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
    $length = 150;
    return $length;
    }
    add_filter( ‘excerpt_length’, ‘enfold_customization_excerpt_size’ );
    add_filter( ‘avf_masonry_excerpt_length’, ‘enfold_customization_excerpt_size’ );

    But it just works on our english page.
    On our german page I get an error and I need to delete the lines.

    Regards

    #548444

    Hey!

    What does the error say?

    Best regards,
    Elliott

    #548611

    Hey,
    It says “Rendering Page – an unknown error occured”.

    Regards

    #551809

    Hey!

    Hmm, not sure what it could be. Your using WPML correct? Send us a WordPress login and we’ll take a look.

    Regards,
    Elliott

    #552291

    Hey,
    there you go.
    Thanks, Lisa

    #556315

    Hi!

    Hmm, I don’t see the theme editor link in your Dashboard > Appearance menu. How do you edit the child theme?

    Cheers!
    Elliott

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.