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

    Dear sir/madam,

    I can’t find out how to change the excerpt settings in Enfold. I created a read-more link but the post seems to be cut off at a set amount of words. Could you tell me how to change to not using excerpts so the blog post is cut of at the right line?
    Online suggestions were to edit the index.php of the theme but I expect there to be some kind of setting to turn this on or of.

    Kind Regards.

    #526179

    Hey DeniseLand!

    Please add following code to Functions.php file in Appearance > Editor and adjust 100 as needed

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

    Cheers!
    Yigit

    #526201

    Dear Yigit,

    Thanks for the fast reply.
    That is not entirely what I was looking for because I’m looking for excerpt sizes that differ on a per blogpost basis where the end of the excerpt is marked by the read more element.

    Now that we are looking in to it a bit more we realise that we don’t want to move away from the home page since we set it up to be a one page website. Do you have any suggestions as to how to create a read-more link that would show the blog post on the same page instead of navigating to a seperate page?

    Cheers
    DeniseLand

    #527651

    Hi!

    for this kind of function you would need to search a plugin.

    Best regards,
    Andy

    #713997

    Hi Yigit & Andy,

    Could you please advise how to enable html tags like <b>, <span style=”…..”>, </br> so to show more optimized the excerpts?

    Also, I would be interested if there is a way to include appearance/functionality of shortcodes on excerpts (i.e. [av_notification title=...])

    Thank you beforehand,

    George

    • This reply was modified 7 years, 11 months ago by asteratos.
    #714004

    Hi!

    Please try using a plugin such as this one – https://wordpress.org/plugins/advanced-excerpt/

    Regards,
    Yigit

    #714066

    Hey Yigit,

    I had tried this plugin before replying in this thread.

    What happened is nothing, something that it doesn’t “listen to” any change.

    I think something under enfold / avia framework must be edited.

    #714658

    Hey!

    Are you using the Blog Posts element? If you are, did you set the “Blog Content length” to “Excerpt with Read more link”? If you want to manually control the excerpt, edit one of the posts then look for the Screen Options and enable the Excerpt module. Add the excerpt manually.

    Best regards,
    Ismael

    #716027

    Its ok thank you, I found a solution combining a code I found here in the enfold support which customizes the excerpt posts (put in functions.php) and then after that the advanced excerpt plugin which in this time “listened to” adding html tags in excerpts.

    Thank you all for your input.

    Kind regards,
    George

    #716038

    Hey!

    You are welcome!

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Regards,
    Yigit

    P.S.: Please consider reviewing Enfold on ThemeForest if you have not already :)

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Excerpt settings Enfold’ is closed to new replies.