• Resolved vinceboul03

    (@vinceboul03)


    Hi guys,
    I am tired of wasting my time so please help me.
    I just want to add a paypal button to one of my blog page. So it is just a html code that I add to my page but… this is not working.
    Why?
    I tried some plugins, but no solutions.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • So it is just a html code that I add to my page but… this is not working.

    What is not working? Are you getting errors? How are you adding it to your page? Please post a link showing the page you are having a problem on.

    Thread Starter vinceboul03

    (@vinceboul03)

    Ok, no, it just showing the html text. Here is the link.

    Thanks.

    Did you pasted the code in HTML View ?

    Try to create a short code instead in functions.php of your current theme.

    function paypal_button_func( $atts ){
     return 'all your html code here';
    }
    add_shortcode( 'paypal_button', 'paypal_button_func' );

    The in your page or entry, add [paypal_button] in place

    It would be better to use a child theme. Otherwise when your theme gets upgraded you will loose the code from Luis.

    Thread Starter vinceboul03

    (@vinceboul03)

    Wow! thanks Luis. I dont really know what I did but the button appeared like magic haha.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add HTML’ is closed to new replies.