-
AuthorPosts
-
February 26, 2020 at 4:15 am #1187932
The Post Excerpt is adding <p> </p> tags. How can I stop this please?
Thanks in advance.February 27, 2020 at 3:11 am #1188318Has anyone got a suggested fix for this please?
February 27, 2020 at 10:45 am #1188372Hi,
Could you post a link to an example page so that we can have a closer look please?
Best regards,
RikardFebruary 28, 2020 at 4:29 am #1188704Sure… included link as private below.
It’s the link on the first leaderboard banner (‘Get your apprentice ready for business’), the link is being pulled in using the Post Excerpt, it’s a bit.ly link, but because the excerpt is adding <p> </p> tags around the link it messes it up, like so to… http://www.HIDDEN.com.au/newsletter/club-tomato-2-videos/%3Cp%3Ehttps://bit.ly/2PjAiqU%3C/p%3E
Line 1141
<td width=”728″ align=”center” class=”content”>https://bit.ly/2PjAiqU</p>” rel=”noopener noreferrer”> </td>- This reply was modified 4 years, 9 months ago by myGoldCoast.
March 2, 2020 at 2:44 am #1189289Any thoughts @Rikard ? Thanks
March 3, 2020 at 2:29 am #1189554Hi,
Sorry for the late response. The mygc site is not using Enfold. Is it the correct URL?
You can add this code in the functions.php file to remove or disable the wpautop function.
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
Best regards,
IsmaelMarch 3, 2020 at 4:23 am #1189564Hi Ismael,
Yes, our site is using Enfold. The issue is happening when we view our email newsletters (private link below). We are using a WP plugin called ‘Mailster’ https://mailster.co/
I have added that code into our functions.php however it hasn’t fixed the problem. Any other ideas? Thanks.
March 4, 2020 at 2:01 pm #1190059Hi myGoldCoast,
https://share.getcloudapp.com/P8uRmyW7 This seems to look ok now. Could you please attach some screenshots of the issue on your end?
Best regards,
VictoriaMarch 6, 2020 at 3:19 am #1190716Hi Victoria,
Unfortunately, it is still doing it. Captures here…
https://ibb.co/9b75mZq
https://ibb.co/4gNxmBW
https://ibb.co/7zYDwgbMarch 9, 2020 at 1:29 pm #1191508Hi,
The URL redirects to the old site which is not using the Enfold theme, so we can’t really see the issue.
How do you insert the excerpt containing the bit.ly URL in the table? This table doesn’t look like an element that is generated by the theme.
If it’s from a plugin, you might have to contact the authors for more info.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.