Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Reed Wendorf

    (@reedwf)

    Joel-

    Thank you for your feedback. If you are entering the shortcode into the “Visual” editor, be careful that you are not putting the start/stop tags inside of a paragraph. WordPress’s WYSIWYG editor has a tendency to strip paragraph tags. Personally, I use the “Text” editor. I just tested on a page in 3.6 without issue with a paragraph tag. If you are comfortable with the text editor, give this a try:

    [userloggedin]<p>Paragraph Text</p>[/userloggedin]

    It should work as intended. If you still have an issue, please be more precise as to which version of WordPress you are using and exactly how you are utilizing the shortcode.

    Thank you!

    Thread Starter Joel Eade

    (@joeleade)

    Thanks for the speedy reply!

    Yes, I entered the shortcode in the Visual editor. I’m very comfortable using the Text Editor but my client, and I assume most beginner-level users, would be a bit lost in there. That being said, entering the shortcode & content in the Text Editor still results in the <p> tags being stripped. I’m using WordPress 3.6 and WooThemes Canvas.

    Adding the code as you’ve suggested ([userloggedin]<p>Paragraph Text</p>[/userloggedin]) does work. I’m happy to instruct my client to do this.

    Cheers,

    Joel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stripping tags’ is closed to new replies.