-
AuthorPosts
-
September 19, 2017 at 4:08 pm #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
September 19, 2017 at 5:31 pm #853958Hey 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,
YigitSeptember 20, 2017 at 9:11 am #854255Good 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
September 22, 2017 at 7:00 am #855174Hi,
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,
IsmaelSeptember 22, 2017 at 11:14 am #855314Thank 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
September 23, 2017 at 3:20 am #855656Hi,
1.) The shortcodes are stripped or removed by default.
2.) No problem. Let us know if you need anything else.
Best regards,
IsmaelOctober 5, 2017 at 10:41 am #860515Greetings 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
October 7, 2017 at 3:07 am #861239Hi,
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,
IsmaelOctober 9, 2017 at 8:08 am #861773This reply has been marked as private.October 9, 2017 at 11:56 am #861856Hi Gerhard,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.