Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #853900

    Greetings from Vienna!

    I have generated a blog, with excerpt, but that does not work properly as it cuts out words.
    See:

    And on the blog itself cannot be commented? There shows no button, although I set it right in WP and did not define in the theme the blogsite:

    best regards

    #853958

    Hey Gerhard,

    You can add following code to Functions.php file in Appearance > Editor and adjust the value to change excerpt length

    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 100;
       return $length;
    }

    Best regards,
    Yigit

    #854255

    Good Morning from Vienna!

    Sorry to say, I added the code to functions.php as suggested, changed the value from 100 to 80 and 120 for Slegth, but it did not change at all….
    For the second point in y blog:
    I cannot see any possibility to add comments in the blog as there is no button. Can you help me with that?

    best regards

    Gerhard

    #855174

    Hi,

    1.) Please change the filter to the following.

    /* change excerpt length */
    function avf_custom_excerpt_length( $length ) {
    return 30;
    }
    add_filter( 'excerpt_length', 'avf_custom_excerpt_length', 999 );

    Adjust the value. And then remove the following css modifications.

    div.entry-content {
        width: 1400px !important;
    }

    2.) Since you’re using the advance layout builder, you need to add the “Comments” element manually.

    Best regards,
    Ismael

    #855314

    Thank you Ismael!

    1.) works fine for the blog, but content of class .avia_textblock does not show any longer. So I let it as is for the moment. Maybe you could fix this with a next update?
    2.) Thank you, sorry did not think about a comments box!

    best regards

    Gerhard

    #855656

    Hi,

    1.) The shortcodes are stripped or removed by default.

    2.) No problem. Let us know if you need anything else.

    Best regards,
    Ismael

    #860515

    Greetings from Vienna!

    It is strange, but on my blogsite I have added 2 new contributions, and they do not show the excerpt text as in the first article:

    I do not know, how this could happen?
    Do I have to change something in the settings?

    best regards

    Gerhard

    #861239

    Hi,

    The post is created with the advance layout builder that’s why the excerpt is not there. You have to manually add the excerpt in the “Excerpt” box. If you can’t see the box, enable it in the post Screen Options.

    Best regards,
    Ismael

    #861773
    This reply has been marked as private.
    #861856

    Hi Gerhard,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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