Jump to content


Photo
- - - - -
Resolved

"donate" Button Next To Social Media Icons In Header

Donate Donate Now Button

  • Please log in to reply
5 replies to this topic

#1 kellycrisp

kellycrisp

    Member

  • Members
  • 25 posts
  • Country: Country Flag

Posted 20 October 2012 - 11:07 PM

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

#2 batman

batman

    Bat Learning

  • Members

  • 2162 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 20 October 2012 - 11:20 PM


Hi jellycrisp

You can try add a Hook

You can find at

Please Login or Register to see this Hidden Content


You can see this links to begin:

Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content



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 LINK DONATE PAYPAL"><img src="http://YOUR IMAGE DONATE PAYPAL.png"></a>
</div>
<?php }
// end function

#3 kellycrisp

kellycrisp

    Member

  • Members
  • 25 posts
  • Country: Country Flag

Posted 20 October 2012 - 11:24 PM

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

#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 16952 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 21 October 2012 - 09:35 AM

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

#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 16952 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 21 October 2012 - 09:35 AM

The topic was marked as resolved.

#6 stano7

stano7

    Advanced Member

  • Members
  • 49 posts
  • Country: Country Flag

Posted 05 November 2012 - 02:40 AM

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:

Please Login or Register to see this Hidden Content







Also tagged with one or more of these keywords: Resolved, Donate Donate Now Button