• My client wants a Facebook link button on the homepage only, preferably to the right of the menu. How can I do that?

    Thank you for the help!

Viewing 1 replies (of 1 total)
  • You can add something to the front page by calling the is_front_page() function. This would be placed inside whatever you home page is. It could be the index.php file or if you are using a static front page then it would be in the template used for the front page.

    Example:

    if( is_front_page() ) {

    // add your code for the facebook button here

    }

    check out wordpressrepair.com if you ever need to speak with a developer about your wordpress issues.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add a Facebook button to homepage ONLY’ is closed to new replies.