Hi ThePopularizer,
Are you able to provide any further information? Clean Testimonials does not strip any tags from testimonials.
As you can see at the link below on line 47, post_content is sent to the browser without any manipulation.
https://github.com/lukerollans/clean-testimonials/blob/master/class.wp-testimonial.php
Is this what you are referring to?
Closed due to lack of reply and lack of issue.
Hi, sorry, I missed the original reply.
The issue seems to exist only in the plural version of the shortcode, which seems to strip out the paragraph tags:
[testimonials per_page=”10″]
The singular version of the shortcode works fine:
[testimonial id=”random”]
Here’s the development site:
http://cwbr.tobiasyorke.com/
Regards,
Tim
Hi Tim,
Is it possible for you to open the testimonial in your back end and choose the “Text” tab in the WYSIWYG editor. Could you please confirm that within the testimonial content that the tags which seem to be stripped are present?
This will nail nail whether the tags are being stripped on output or upon saving
Hi,
the tags don’t show up in the text editor (I think this is WordPress behaviour), but it does show in the single testimonial.
Here is the text editor:
http://oi60.tinypic.com/1zc05yp.jpg
The single testimonial with paragraphs in place:
http://oi61.tinypic.com/2cffkma.jpg
Same testimonial from the testimonials list shortcode, without paragraphs:
http://oi58.tinypic.com/2gxobqe.jpg
Thank you again for your time!
Regards,
Tim
Hi Tim,
I’ve been looking in to this for you, however I can’t replicate the issue or even think of a scenario which it would occur in. I am confident in saying that it must be something to do with your theme or other plugins you have installed which are manipulating the “the_content” filter.
Are you able to confirm if this issue is still occuring?
Marking as resolved due to no response
Hi Luke,
I have the same problem.
My particular problem is that no <p> tags are being added when I format the text in the ‘visual’ editor. Manually adding <p> tags in the ‘text’ editor resolves the issue. So the issue for me is happening before it is being saved into the DB and is therefore not an output formatting problem.
I have no issues with paragraphs or any other formatting with normal wordpress pages or posts.
Perhaps there is a problem with the custom post type?
Tim