Archived topic
Use hook for a footer widget
6 replies · Started by DM on May 9, 2020
Hi there.
I want to add my Facebook code for the Page Plugin (now in a footer widget) to load after the main content. It is slowing down my site. Is there a way to set its priority?
<div class="fb-page"
data-href="https://www.facebook.com/facebook"
data-width="380"
data-hide-cover="false"
data-show-facepile="false">
thanks! DM
Hi there,
How is the code being added ?
It's being added as a Custom HTML widget.
It's being added as a custom HTML in the widget area. For some reason, I just added it as an iFrame and it's no longer slowing it down. I thought iFrames were more resource-intensive than javascript. btw, the javascript was in the head in the customizer widget area.
Have you solved this?
The topic is marked as resolved.
I'm all set. Thanks!
Glad to hear :)