Site logo

Archived topic

Facebook Page Plugin/Widget

11 replies · Started by Joe on September 1, 2017

Viewing posts 1–12 of 12

Hi, I've tried multiple different widgets and even the Facebook developers HTML code to have my like page appear in the side bar of my blog but every time nothing shows in the space. I was told that this is a theme issue and to contact the developers. What do I need to do to get my Facebook page to appear on the side bar of my blog? I have tried HTML and text widget and used the FB developers code and I get a blank space. I just tried Jetpack for WP and the same thing. What am I doing wrong? Please help.

Joe

Hi there,

Make sure the code you're pasting into your widget goes into the HTML Code widget - not the Text widget.

The theme itself doesn't have any say over the content you add into your widgets - it just displays as is.

Let me know :)

I've done that as I stated and it still is blank and I get nothing.

Ah sorry, missed that.

If you right click "Inspect" in Chrome, are there any red errors in the Console tab?

This is what it says with just the regular HTML widget and I used the code from Facebook.

frontend.min.js?ver=1.7.1:2 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at Object.getCurrentDeviceMode (frontend.min.js?ver=1.7.1:2)
at u (frontend.min.js?ver=1.7.1:2)
at HTMLDocument.init (frontend.min.js?ver=1.7.1:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)

Any caching or minifying plugins?

I have W3 Total Cache plugin and I don't know what a minifying plugin is.

Joe

I deactivated the plugin and still getting an error. I used just the HTML widget and the FB developers code. This is what I got.

(index):1 Uncaught SyntaxError: Unexpected token _ in JSON at position 0
at JSON.parse (<anonymous>)
at iframeCookieHandler (getTrackingCode:176)

Did you clear your W3 cache before deactivating it?

I'm not familiar with these errors unfortunately, as they don't relate to GP. Does it work if you use Twenty Seventeen as your theme temporarily?

How do you clear the cashe?

And no, it doesn't work with the 2017 theme either.

There should be a clear cache option within the plugin setting.

However if it doesn't work with 2017 theme either then you should check with the plugin author.

This archived topic is closed to new replies.