The current state ofthe plugin will strip all html from the description metabox even though I use the tinymce wysiwyg and even if use the “text” section of the input metabox.
Could you please allow some tags to come through or perhaps add some filters so i can extend without having to edit your plugin files.
Currently, if I replace this (lines 1266 to 1270 in /plugins/post-snippets/src/PostSnippets/Edit.php):
//******************** Preparing Snippet Description ************************* */
$snippet_desc = sanitize_textarea_field( $_REQUEST[‘snippet_desc’] ?? ” );
//****************************** END *********************************** */
with this:
//******************** Preparing Snippet Description ************************* */
$snippet_desc = wp_kses_post( $_REQUEST[‘snippet_desc’] ?? ” );
//****************************** END *********************************** */
it will work.
Any ideas?
]]>I love your plugin as it’s very configurable and really fits my need. The only thing that’s missing is preserving the html in the displayed content.
I did try the solution you propose (comment out a function in wppsac-function.php), as described here: https://prnt.sc/i4hJehd_x8OR
The only problem is that it does indeed keep the html, but it also stops truncating the text at the word count specified in the shortcode. The result is that the complete contents of each post are shown, giving the carousel window the height of the longest post, which is very unesthetic.
So, is it possible to keep the html, but also to truncate the text at the specified length ?
You can see the carousel on the homepage of the link I provided. Right now I kept the html filtered, because it’s very ugly otherwise!
Thank you for your response,
RP
function tag_groups_sanitize_tag_title($title) {
return tag_description ($title);
}
add_filter( 'tag_groups_tag_title', 'tag_groups_sanitize_tag_title' );
which is certainly poorly written and doesn’t do what I would like, but at least it makes the description invisible, i.e. completely eliminates the tooltip. This is the last resort for me if you can’t tell how to strip the HTML and get the excerpt, but possibly I was wondering if you can fix that function above, i.e. remove the tooltip completely from tag_groups_tag_list as it does, but with a correct code.
However for me the ideal solution would be to have a function / filter that shows the tooltip without HTML tags and with an excerpt, without the post_count. Is it possible?
Thanks very much for the attention.
We’re using your plugin for generating an XML file for Facebook/Instagram shop. Up until a few weeks all products were working, although they had an error saying that the description of the product should not have HTML code in it. I guess something changed from Facebook and now all products are not active.
For the description we are using a custom attribute created by us and Product Feed PRO recognizes it and displays it fine in the XML. The issue is that it doesn’t strip all the HTML code we have in this field so Facebook won’t accept the products. How can we strip all HTML from custom attribute fields so the generated XML file is free of HTML in the description field?
Thank you!
]]>I currently have this email set to “Use HTML content type” when an email gets sent to us.
I also have a textbox where users can add in information. Is there a way to make it so that any HTML gets stripped out if the user were to say embed a URL?
]]>I successfully imported it into TablePress, creating a new table.
In the TablePress edit table screen, the links look fine. But when the table is displayed on a WordPress page, all of the link code has been removed. Probably not a TablePress issue, but an initial look at defeating the usual TinyMCE HTML code removal doesn’t appear to help at all.
Anyone else observe this kind of thing? I’m sure there’s a simple answer…
]]>Furthermore, it would be really useful to allow the toggling of those confirmation emails because in this case I would prefer not to send one as the ‘thank you’ message is sufficient.
Thanks.
]]><ul class="classy">
The class will get stripped out if I switch to the Visual tab.
I then go back to the Text tab, and the class is gone.
Thanks.
https://www.ads-software.com/plugins/wp-editor-widget/
]]>Is there an easy way to remove all HTML tags from the response for these fields, I can use the strip_tags() method from PHP, but have no idea where to place this in the code. Any help would be really appreciated.
Thank you so much again for creating this amazing tool. Thanks!
https://www.ads-software.com/plugins/json-api/
]]>