[Resolved] Use hook for a footer widget

Home Forums Support [Resolved] Use hook for a footer widget

Home Forums Support Use hook for a footer widget

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1277399
    DM

    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&#8221;
    data-width=”380″
    data-hide-cover=”false”
    data-show-facepile=”false”>

    thanks! DM

    #1277754
    David
    Staff
    Customer Support

    Hi there,

    How is the code being added ?

    #1279670
    DM

    It’s being added as a Custom HTML widget.

    #1279672
    DM

    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.

    #1279695
    Leo
    Staff
    Customer Support

    Have you solved this?

    The topic is marked as resolved.

    #1279811
    DM

    I’m all set. Thanks!

    #1279823
    Leo
    Staff
    Customer Support

    Glad to hear 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.