Comments 2simonx2k started the conversationFebruary 28, 2017 at 6:15pmHello,how can I add seo friendly tags (like <strong>) inside the quickfinder items?Thank you! 7,121Oliver repliedFebruary 28, 2017 at 6:33pmHI!You need to edit Quickfinder tempates, check:/wp-content/themes/thegem/gem-templates/quickfindersIt's templates, just copy it to the child theme.Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 2simonx2k repliedFebruary 28, 2017 at 6:37pmTried it but that's the visualization part, you can apply tags to the whole text... but if I want to apply tags only to certain part of text, the tags disappear when the quickfinder is saved (inside the administration part) 7,121Oliver repliedFebruary 28, 2017 at 6:42pmYou need to edit:/wp-content/plugins/thegem-elements/inc/post-types/quickfinders.phpline 85 remove esc_textareaPlease note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 Like 2simonx2k repliedFebruary 28, 2017 at 7:28pmActually I had to comment the line 224 too.Thanks! 7,121Oliver repliedMarch 1, 2017 at 11:39amSorry?Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 2simonx2k repliedMarch 1, 2017 at 12:03pmI had to comment this line too (224)$quickfinder_item_data['description'] = implode("\n", array_map('sanitize_text_field', explode("\n", $quickfinder_item_data['description'])));otherwise, it would remove html tags at every quickfinder save1 Like Sign in to reply ...
Hello,
how can I add seo friendly tags (like <strong>) inside the quickfinder items?
Thank you!
HI!
You need to edit Quickfinder tempates, check:
/wp-content/themes/thegem/gem-templates/quickfinders
It's templates, just copy it to the child theme.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Tried it but that's the visualization part, you can apply tags to the whole text... but if I want to apply tags only to certain part of text, the tags disappear when the quickfinder is saved (inside the administration part)
You need to edit:
/wp-content/plugins/thegem-elements/inc/post-types/quickfinders.php
line 85
remove
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Actually I had to comment the line 224 too.
Thanks!
Sorry?
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
I had to comment this line too (224)
$quickfinder_item_data['description'] = implode("\n", array_map('sanitize_text_field', explode("\n", $quickfinder_item_data['description'])));
otherwise, it would remove html tags at every quickfinder save