Ready to get started?Download WordPress


How to add a Facebook button to homepage ONLY (2 posts)

  1. macerdoodle
    Posted 2 years ago #

  2. Jeff Clark
    Posted 2 years ago #

    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.


    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.

Topic Closed

This topic has been closed to new replies.

About this Topic