-
AuthorPosts
-
April 3, 2020 at 12:14 pm #1200488
hey enfold team,
i hope all of you are healthy!is it possible to add a snippet in the functions.php in the enfold latest news widget to display the excerpt and a read more link?
greetz ramon
April 6, 2020 at 7:36 pm #1201335April 6, 2020 at 10:10 pm #1201393hi victoria,
thx. my bad. sorry for my english. i know that. but i would like to have a “read more” link.
example:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua… (read more)April 7, 2020 at 3:26 am #1201419Hi,
Did you try the more tag or the excerpt box? The read more link will appear once you set the excerpt. Or you can try this plugin: https://wordpress.org/plugins/advanced-excerpt/
Best regards,
Jordan ShannonApril 7, 2020 at 8:06 am #1201503hi shannon,
thanks, but i talk about about the enfold post widget. there is no “read more” link. and i know that you can read the full post by click on the title. but my custumer would like a “read more” in the widget
April 9, 2020 at 5:02 pm #1202400April 10, 2020 at 9:42 am #1202619hey victoria,
i appreciate the screenshot. but i dont know exactly what you mean
April 11, 2020 at 1:59 pm #1202898Hi volmering,
You need to add the code for the read more link in that file.
Please try to add this code:
echo "<a class='read-more-link' title='".get_the_title()."' href='".$link."'>Read more</a>";in this file /framework/php/class-framework-widgets.php
in this function avia_newsbox towards the end of it.
Best regards,
VictoriaApril 14, 2020 at 2:36 pm #1203597worked in this file, but not in the child-theme.
anyways, thanks for your help.
can be closed too!
April 14, 2020 at 6:26 pm #1203708Hi volmering,
Great :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Enfold Latest News – add Read More Link and excerpt’ is closed to new replies.




