• Hello,

    i would like to know if there is a way to hide the post title from the og image and use only the logo. I didn’t find such option on the plugin.

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Remon Pel

    (@rmpel)

    Hi @haonas

    The plugin has the option to disable text output but it is for each post/page individually. You can find it when editing a post/page in the BSI Meta Box;

    There currently is no option to disable it globally.

    Of course, it’s all WordPress, so you could just filter the post-meta data;

    add_filter( 'get_post_metadata', function ( $value, $object_id, $meta_key, $single ) {
    if ( '_bsi_text_enabled' === $meta_key ) {
    return $single ? 'off' : [ 'off' ];
    }

    return $value;
    }, 10, 4 );

    This, however, will have no effect on existing images, but that should be fixed with a BSI Cache clear, using the Purge Cache button in the settings.

    (In my testing, it did have immediate effect, but that is no guarantee for others.)

    Thread Starter Chimera

    (@haonas)

    Please consider adding a global setting in future version to disable text.

    thank you for your answer

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

You must be logged in to reply to this topic.