最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论