This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Add paypal button code in Layout Builder on Barely Corporate

  • Creator
    Topic
  • #22115
    annedesign
    Participant

    Hi,

    I have been using Barely Corporate for a while for clients and it is great! I have a new site where I have used the layout builder for the first time. I have lots of product pages set up and now want to add a Paypal buy now button to each. (I have done this before on Barely Corporate using the standard page editor.) But I can’t get it to work using layout builder. I have pasted the code into the raw content are. It says you can use basic html here – is Paypal code too complicated? The code just gets scrambled and all I get on the page is text, not a button.

    See: http://tereolearningmedia.co.nz/nz-picture-books/

    The first book, Fantails Quilt has the code added – only price text showing. ( I just tested the code on another Barely Corporate site using standard editor and worked fine.)

    I am using the latest version of Barely corporate and WordPress. Only plug ins are All in One SEO and Contact Form 7 + theme plugins.

    I hope you can help as the site is ready to have prices added!

    Thanks,
    Anne

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #22126
    Jason Bobich
    Keymaster

    Hi Anne,

    Yeah, it’s very possible that the Layout Builder textarea field can be sanitizing out HTML you’re trying to input. A workaround for this is to just create a blank page with your button HTML in the content. Then in the Layout Builder include the content from page element, and include the content from that page.

    While maybe this process has an extra step, I think you should get the same result you were originally trying to achieve.

    #22775
    annedesign
    Participant

    Hi,

    Yes – thanks that works perfectly!

    Sorry for the very late reply – I had to work on another site for a while.

    Really appreciate your response and support.

    Thanks,
    Anne

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘Barely Corporate Responsive WordPress Theme’ is closed to new topics and replies.