• Version 3.8.5

    I can’t get my HTML to show up once I publish the blog post. I inserted it into the text section correctly. When I click back to visual, I see it perfectly. But once I click to update the blog, and view the post, its not there. Everything I can find googling says how to enter it correctly, which I did as proven by it showing up in the visual side, but nothing about it disappearing when you go to publish.

    When I go back to edit (after viewing the published post), its no longer there in the visual side. Some of the code is still there in the text side, but not everything.

    The specific code is for a paypal donate button. The blog purpose is fundraising, so I need to be able to insert this donate button onto every page. Here is the code:
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”>
    <input type=”hidden” name=”cmd” value=”_s-xclick”>
    <input type=”hidden” name=”hosted_button_id” value=”NTS37CVLLJ72Q”>
    <input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif&#8221; border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
    <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″>
    </form>

    When I go back to edit after having published, this is all thats left of the code in the text section:
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”><img alt=”” src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″ border=”0″ />

    </form>

    Please help! Thank you.

Viewing 15 replies - 16 through 30 (of 35 total)
  • Thread Starter Lin171

    (@lin171)

    I tried to explore the idea of changing from twenty eleven to twenty fifteen theme to see if that would help.

    It appears I do not have the ability to change my theme. I do not have the ability to add/change a theme, so could not use a childs theme if I created one. https://www.ads-software.com/support/topic/changing-themes-updating-version?replies=3

    Plugins causing the problem was suggested. Any further info on how that could be happening or what to do?

    On another blog from the same parent blog, the paypal buttons worked fine. I was speaking to someone from the charity and she mentioned the paypal buttons on another blog. So if that helps with trying to find the cause…

    @lin171 – it really does not work well to have two threads open at the same time on basically the same issue – it’s confusing to forum volunteers and in fact, we generally close duplicate threads per the forum guidelines.

    At this point, you really need to talk to the people who do have control over your site. Given the lack of info about the site, I don’t think anyone here can help you further until you find out what is and is not possible.

    I really don’t think the theme or the WP version makes any difference here. Can you start with a NEW page (or post) – and NEW code you’ve copied from the PayPal site – using the TEXT editor, paste the code into the editor. Then, without switching editors or doing anything else, publish the page. See if that works.

    Thread Starter Lin171

    (@lin171)

    The threads were not the same issue, the second thread was specifically about if I had the ability to install a new theme, which I learned I do not. This thread is the html issue. I didn’t get a clear answer in the other thread, but it also appears I do not have the ability to update version myself.

    The person who is in charge of the head blog is not reachable, and will not be for some time. Think, months. As I mentioned previously, there is no problem with the paypal button working on other blogs under the parent blog. So there is nothing specifically preventing it from working by the parent blog. The paypal button is present on other fundraising blogs. My contact with the charity is going to log in to her blog to see the code for me, but I do not think that will be helpful since the problem here is the code being changed once submitted.

    What information do you need to know about the site? Please ask and I will give you all information I can. I have thus far, the only issue so far was me opening the thread to determine for sure that I do not have the ability to change themes, and was not just going about things in the wrong way.

    I’m just trying to make sure I do not ignore any piece of advice or suggestion here, so since themes was brought up I wanted to make sure I explored it as fully as I could and did not ignore the help. Good to know you don’t think thats the problem.

    When I open a completely new post to submit the code, the same thing happens. I started a new post with the title Paypal button. I inserted
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”>
    <input type=”hidden” name=”cmd” value=”_s-xclick”>
    <input type=”hidden” name=”hosted_button_id” value=”NTS37CVLLJ72Q”>
    <input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif&#8221; border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
    <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″>
    </form>

    and immediately clicked to publish. Before my eyes the screen refreshed to show
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”>

    <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″/>
    </form>

    This is why I would suggest you to create a child theme following the instructions and then copy the parent’s page.php file and drop that form code in.

    Alternatively, you could use a shortcode plugin and create a shortcode easily in which it will create the form for you when the shortcode is used on the page.

    @respectyoda – she cannot create a child theme – and likely cannot install plugins – it’s a modified site.

    The threads were not the same issue,

    It’s a totally relevant issue to THIS thread – people here are still suggesting you make a child theme…

    So back to the issue with this site. FWIW, the code works for me too on a test site.

    Since you said you want it to be visible on every pages, it may actually be better to put this PayPal button in a widget – shows up in the sidebar on your pages.

    To try that, when you are making a new page, select the Template (right side of screen) that has a sidebar.

    Then go to Appearance > Widgets and put a Text widget (drag/drop) into that main sidebar section – and try pasting the PP code in there. Save the widget and view that page to see if it works there.

    Thread Starter Lin171

    (@lin171)

    I really want the button to show up in a specific location, the area that lists how to donate. As opposed to just showing up in the sidebar. But showing up at all somewhere is a step forward!

    When I go to make a new post, I don’t see anything on the right side about templates? And you say “page”, I don’t have pages if you mean like a website has pages. Its just a fundraising blog with blog posts. I need the button to appear in every blog post. Does the template/sidebar/thing still apply?

    Going to appearance > widgets I have no idea what to do next… The thing that says main sidebar doesn’t let me do anything with it. scrolling down on the left side there’s a thing that says Inactive Sidebar and “this sidebar is no longer available and does not show anywhere on your site. remove each of the widgets below to fully remove this inactive sidebar.”

    Here’s what I’m seeing: https://i38.photobucket.com/albums/e103/Lin_171/Stuff/Screenshot%202015-03-24%20at%209.04.23%20PM_zpsfrffma9i.png
    And when I click on main sidebar this is all that happens https://i38.photobucket.com/albums/e103/Lin_171/Stuff/Screenshot%202015-03-24%20at%209.04.50%20PM_zpsdqnphtwn.png

    Thread Starter Lin171

    (@lin171)

    Ok, so I figured out what you were saying. To test, I went to add a new page, and was able to follow your directions. So, I guess disregard my previous post. As I said before my brain is pretty fried by the time I’m able to start working on this stuff, even more so today after the day I had.

    But…. The exact same thing happens. I drag and drop the text into the main sidebar. I insert the code for the button into it. I click save, and the code changes before my eyes.

    Started with (again)
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”>
    <input type=”hidden” name=”cmd” value=”_s-xclick”>
    <input type=”hidden” name=”hosted_button_id” value=”NTS37CVLLJ72Q”>
    <input type=”image” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif&#8221; border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
    <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″>
    </form>

    And before my eyes, changes to:
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post” target=”_top”>

    <img alt=”” border=”0″ src=”https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221; width=”1″ height=”1″>
    </form>

    Thread Starter Lin171

    (@lin171)

    Well, problem “sort of” solved. My boyfriend altered the code for the button to get it accepted. Still have no idea of course why html isn’t working, not so helpful for others in the same position, the problem may pop up again, but I’ve got my button!

    Here’s what he changed it to so it would appear:

    <img src=”
    https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif&#8221; border=”0″ alt=”PayPal – The safer, easier way to pay online!” />

    But, now I’m interested in the sidebar thing. How would I add the button to appear on the sidebar of the posts I’ve already done?

    Thread Starter Lin171

    (@lin171)

    Well that didn’t work. He changed the code to a basic a href tag link.

    This is why I stated it is better to create a child theme so that way you can manipulate the page to work and look exactly the way you want it to. This is why child themes exist in the first place. ??

    Thread Starter Lin171

    (@lin171)

    respectyoda, I DO NOT HAVE THE ABILITY TO CHANGE OR CREATE A THEME.

    My blog is a blog given to me off a main blog. I do not have the ability to change/install themes. So if I created a childs theme, it would be worthless to me because I could not use it. We’ve been trying to explain that.

    WPYogi, hope you’ll help me out with what you were talking about with sidebars still?

    Thread Starter Lin171

    (@lin171)

    How do I add a sidebar with the paypal link to my current blog posts? I went to pages to see if I could change things the way you instructed me on creating a new page with the sidebar template. But all I see under pages is a sample page, not anything with my actual blog posts.

    Thread Starter Lin171

    (@lin171)

    For clarification, I added what I wanted to the main sidebar so it appears when just viewing the blog, but I don’t know how to make the sidebar appear when you’re only viewing one specific post. Once you click to view a single post, the sidebar disappears.

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘HTML not working in blog’ is closed to new replies.