Jump to content
Sign in to follow this  
infomatika

Hook in page footer

Recommended Posts

infomatika

Hi :) I'm trying to add a facebook like button in the footer of my page, this is my code so far: add_action('pagelines_after_footer', 'facebook_button'); function facebook_button(){?>

<?php } But unfortunately it does not work What have I done wrong?

Share this post


Link to post
Share on other sites
Jenny
hmm.. looks like you did everything correctly. Where are you adding the code? You should have PlatformBase as your active theme and then add the code to the bottom of functions.php in Appearance -> Editor.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
infomatika
Okey, then I think there is something wrong with my fb button html code.... I'll try to figure it out :) Thanks for your help!

Share this post


Link to post
Share on other sites
kastelic
I have tested your hook to work with some sample text but the FB code was invisible.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×