Hi! The problem is that the widget title is actually a link, unlike most other widgets. To fix this, you can do the following:
1) Install this plugin: https://ww.wp.xz.cn/plugins/code-snippets/
2) Create a new snippet, and add the following code to it:
function jeherve_custom_fb_title( $likebox_widget_title, $title, $page_url ) {
return esc_html( $title );
}
add_filter( 'jetpack_facebook_likebox_title', 'jeherve_custom_fb_title', 10, 3 );
(note that this came from this thread: https://ww.wp.xz.cn/support/topic/remove-hyperlink-from-text-above-facebook-jetpack-widget/#post-7323972 )
3) Save and Activate the snippet.
That should fix it for you! However, this has also prompted me to re-open this old issue, to suggest we remove the link entirely. I don’t know if it will be feasible to do so, but we’ll see!
https://github.com/Automattic/jetpack/issues/892#issuecomment-344362004
Thanks for your help on this Richard. That makes total sense now.
I did follow those steps (save and activate the snippet), however no change has occurred. I also tried clearing the cache and even removing and adding the Widget back.
Hmm, are you sure the snippet is active? The Code Snippets interface is sometimes a bit tricky; make extra sure that it’s activated and set to run on the front-end of the site, please. I’ve been bitten before by that, where I thought it was active but in reality it wasn’t. If you’re sure, we’ll take another look!
Yes, the snippet is active. I’ve tried it as both “run snippet everywhere” and “only run on front-end”. Cache cleared after each attempt. Still no difference.
Ah, I see the problem! Change the quotes in the last line; right now they are
’ (curly quotes)
change them to
‘ (straight quotes)
I’ll edit my original response.
That did it! If I had a nickel for every time I looked past a curly quote …
Thanks again for your help!
It’s not the first time this has bitten me either. 🙂 Glad to have been of help!