Tagged: excerpt length, post slider
-
AuthorPosts
-
November 25, 2015 at 5:07 pm #542546
Hi there,
I have 2 questions:1) question regarding length of post excerpts
I have following problem:
I have adjusted the excerpt of some of my blogs post to make it easier for the reader to see if the post is interesting or not – this I could easily do in the setting of the posts. The problem is how the posts get displayed in a post-slider on the startpage. There I have the full excerpt getting displayed which kind of breaks the page (Pls. see screenshot). My question is if there is a way to adjust the exerpt length for posts in the post-slider?2) question regarding standard image for posts without images.
In the posts-slider on the startpage there appears a post without an image – the post without images displays some sort of default image – is there a way to modify this image ?
Thanks a lot.
November 30, 2015 at 3:53 pm #544553Hi flippingrocks!
Sorry for the late reply!
1- Can you please try adding following code to Functions.php file in Appearance > Editoradd_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1); function avia_change_postgrid_excerpt_length($length) { $length = 100; return $length; }2- Currently all 3 blog posts have featured images set. Can you please add an example one so we can inspect elements and provide you an accurate solution?
Cheers!
YigitNovember 30, 2015 at 4:06 pm #544569Hi Yigit,
thanks for your help – the code does not really get us there (yet) – have a lookI have to set the excerpt lenght of the blogs manually – but at the same time the post-slider on the homepage should ignore this (manual excerpt) setting and give me a fixed specific number of characters instead
01.12.2015 – OK, any further help? – the code doesn`t do the trick anything esle I can do since the problem is pressing
-
This reply was modified 9 years, 11 months ago by
flippingrocks.
-
This reply was modified 9 years, 11 months ago by
-
AuthorPosts
- The topic ‘Blog display on startpage in post-slider’ is closed to new replies.
