I'm creating a page in Wordpress and need to add a custom Facebook share button. In order to do so, I need to add FB's JavaScript and HTML code in the header.
I don't even know where to put this since we have the Avada theme and all I can see is the Fusion page builder. Any help?
Thanks.
I'm creating a page in Wordpress and need to add a custom Facebook share button. In order to do so, I need to add FB's JavaScript and HTML code in the header.
I don't even know where to put this since we have the Avada theme and all I can see is the Fusion page builder. Any help?
Thanks.
javascript
wordpress
facebook-php-sdk
facebook-opengraph
facebook-social-plugins
Share
Improve this question
asked Sep 8, 2017 at 0:41
willmatt20willmatt206311 gold badge11 silver badge44 bronze badges3
1Wele to Stack Overflow - nice to have you. Please read How do I ask a good question? and How to create a Minimal, Complete, and Verifiable example to help keeping Stack Overflows content on the highest possible level and increase your chances getting an appropriate answer.
– Axel
CommentedSep 8, 2017 at 2:48
In addition to the links Axel provided, please also review: What topics can I ask about here? and [How much research effort is expected of Stack Overflow users?] (meta.stackoverflow./questions/261592/…).
– FluffyKitten
CommentedSep 8, 2017 at 10:04
I didn't think a code example was necessary as the question was not about coding but how to access a section of a wordpress theme to add code. I spent a half-hour looking for an answer and was unable to do so, thus the reason for my post.
– willmatt20
CommentedSep 8, 2017 at 19:04
Add a ment
|
1 Answer
1
Reset to default
10
Below the Dashboard link, you should see a link that says Avada. Hover over that, and go to Theme Options. From there scroll down to Advanced. Then go to Code Fields. Put your code in the "Space before head" code box.