WordPress.org

Ready to get started?Download WordPress

Forums

SpeakUp! Email Petitions
Html Showing Up Email Text Pop Up (6 posts)

  1. cjyvr
    Member
    Posted 1 year ago #

    Please click on: "Read the Email. Edit as you wish" in the petition box on page:

    http://tankerfree.wpengine.com/?page_id=381

    You will see
    showing up. Is there a way of avoiding the html showing up in this box short of having no paragraphs and returns in the original text? I notice it does not appear in the pop up with the widget.

    Thanks!

    http://wordpress.org/extend/plugins/speakup-email-petitions/

  2. leoly
    Member
    Posted 1 year ago #

    please is there a way to fix this?

  3. Kreg Wallace
    Member
    Plugin Author

    Posted 1 year ago #

    I just checked out your link and it looks like your page has been taken down (all I see is "Tanker Free BC Dot CA Coming Soon").

    I can't tell what problem you are experiencing based on the explanation provided. Can you try explaining it again?

  4. leoly
    Member
    Posted 1 year ago #

    When the petition is on a page and you click the read the petition button, the petition shows up with all the html showing, like
    , <p> etc. But when you view the petition from the sidebar, it doesn't do this, it just shows as plain text.

  5. cjyvr
    Member
    Posted 1 year ago #

    Hi Kreg,

    Check it out here.

    Click on: READ THE EMAIL. EDIT AS YOU WISH.

    http://tankerfreebc.ca/test/

    Thanks.

  6. Kreg Wallace
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, thanks.

    Your theme is probably forcing the use of wpautop() on the content area of your posts in some way. wpautop() is the function WordPress uses to convert the line breaks in your posts to <br> and <p> tags.

    My suggestion is to try switching your site to another theme for a quick test. You can switch to one of the default themes that WordPress includes, like "Twenty Twelve". Once you've switched themes, reload your petition page and see if the <p> tags problem in the petition has gone away.

    If it does go away, then the theme you were using is at fault. You can decide if its worth changing to another theme permanently or if you would prefer to just turn off the "Allow custom messages" option for your petitions. Petitions without that option turned on shouldn't have the visible <p> tags problem even if your theme is doing something strange with wpautop().

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic