Adding HTML and JavaScript to a page with the Avada Theme in Wordpress - Stack Overflow

I'm creating a page in Wordpress and need to add a custom Facebook share button. In order to do so

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.

Share Improve this question asked Sep 8, 2017 at 0:41 willmatt20willmatt20 631 gold badge1 silver badge4 bronze badges 3
  • 1 Wele 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 Commented Sep 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 Commented Sep 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 Commented Sep 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743618630a4479403.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信