-
AuthorPosts
-
December 15, 2017 at 1:17 am #889175
Hey,
How can I add formating in Excerpt? Like bold text and color to a word
Thanks
Charlotte
http://www.airlinestaffrates.comDecember 15, 2017 at 6:31 am #889198Hey Charlotte,
Please, can you send a screenshot of the area that you wanna add the bold and color text?
Best regards,
John TorvikDecember 15, 2017 at 11:58 am #889254Hi John,
You can view now on http://www.airlinestaffrates.com
The Masonry under Latest Airline Staff Discounts1. I want to be able to add color to a word and bold text in the excerpt
2. I want to a link to be added automatically to the blog post, like View more
3. I have choose Large Gap but it does not really show and as you can see it is a white margin on the
left hand side.4. Headline Latest Airline Staff Discounts
I have 0 Padding bottom but there is still a lot of white space between the headline and the Masonry.
How can I decrease that?Thanks!
CharlotteDecember 15, 2017 at 12:11 pm #889257https://wordpress.org/plugins/rich-text-excerpts/
I tried to use this plugin but it wasn’t workinghttps://codex.wordpress.org/Excerpt#How_to_add_a_link_beneath_an_excerpt_to_the_full_post
I have added this code to the functions.php but it does not add a link as you can seefunction new_excerpt_more( $more ) {
return ‘ ‘ . __(‘Read More’, ‘your-text-domain’) . ‘‘;
}
add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );- This reply was modified 7 years ago by charlotteraboff.
December 18, 2017 at 5:26 pm #890090Hi charlotteraboff,
All the html is stripped from the excepts when they are rendered. And the function adds an empty string.
Best regards,
VictoriaJune 25, 2018 at 12:36 pm #977409Hello,
do I understand it correctly, that Enfold is not compatible with the plugin “Rich Text Excerpts”?
I.e. Enfold deletes all HTML-tags that one adds with the help of this plugin.What would you suggest instead, in order to format post excerpts?
I need post excerpts inside of one Masonry element.I also tried to add HTML manually into the field “Excerpt” (without any plugins), like
<strong>Excerpt Title</strong> Excerpt body text, please visit <a href="test.com/testpage">test.com/testpage</a>
but these manual HTML-tags were deleted by Enfold too.
June 25, 2018 at 1:21 pm #977435Hi med,
Here is a thread for you to consider
and one more
If you need further assistance please let us know.
Best regards,
Victoria- This reply was modified 6 years, 6 months ago by Victoria.
June 25, 2018 at 3:08 pm #977533Hi,
I had seen these threads before asking my question, and the problem is that there is no solution in these threads for Excerpts inside a “Masonry”-element, except the hint of Ismael (#734529) to override Enfold core files, which means this change will last only till the next Enfold update.
Do you have meanwhile some solution through the child theme?Best regards
June 26, 2018 at 4:19 pm #977994Hi med,
You can copy the file av-helper-masonry.php to the child theme and make your changes there. You need to preserve the folder structure.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.