• Resolved bhweingarten

    (@bhweingarten)


    In a previous thread someone indicated that one could remove the hyperlink from the text of the Facebook Jetpack plugin by putting the following code into functions.php:

    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 );

    My question is, where would one paste this in in functions.php? I get a parse/syntax error every time I try to paste this in, which makes my site unusable.

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Hyperlink from Text Above Facebook Jetpack Widget’ is closed to new replies.