Support » Theme: Voyage » facebook plugin in nav bar

  • Resolved bachey



    i’m trying to but a facebook like button in my nav-bar by changing the header.php. I found out that the function voyage_nav_menu() calls the navigation bar. But I cant find the file where this function is defined.
    Can anyoe help me please?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Stephen Cui



    BTW I have dedicated support forum:


    As I dont know much about php, I am still unable to implement the following code.

    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); = id;
      js.src = "//";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-like"  data-href="#" data-send="false" data-width="300" data-show-faces="false" data-font="arial"></div>

    Can you tell me where to insert these lines?

    Theme Author Stephen Cui


    Facebook has its official plugin. There are other plugins to support social sharing. Since you do not know much about php, I recommend you not to modify header.php at all. Voyage Theme and other plugins should be able to help you.

    If you do not like plugin, you can simply copy the codes into a text widget in Navigational Widget Area (or Header Widget Area) in Voyage Theme.

    Again I have dedicated support forum:

    and you can post your URL there for better support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘facebook plugin in nav bar’ is closed to new replies.