Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved "donate" Button Next To Social Media Icons In Header


Question

Posted · Report post

I would like to place a PayPal "Donate" Button next to the social media icons in my header. Grateful thanks for your kind help!

www.tinpond.com

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

I've resolved the topic, should you need further assistance, reply here and we will open the topic again.

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites

Posted · Report post

I tried this code in the functions.php file in my child theme to add a button using the hook above. Everything worked but the button is very small under my social icons in the header section. How do I change this so that the button is at the end of the social media section.

Here is the site:

http://millfairselfstorage.com/wordpress/

Share this post


Link to post
Share on other sites

Posted · Report post

Hi jellycrisp

You can try add a Hook

You can find at

http://api.pagelines.com/hooks

You can see this links to begin:

http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin

http://codex.wordpress.org/Plugin_API

For example you can use:

add_action('pagelines_branding_icons_end', 'my_paypal_donate');

// function name

function my_paypal_donate(){

?>

<div class="my_paypal_donate"><a href="http://YOUR'>http://YOUR LINK DONATE PAYPAL"><img src="http://YOUR'>http://YOUR IMAGE DONATE PAYPAL.png"></a>

</div>

<?php }

// end function

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you Bat! I will try your advice. Blessings.

Share this post


Link to post
Share on other sites