[Resolved] Removing the bloglovin iframe

This topic contains 18 replies, has 2 voices, and was last updated by  Andrew Misplon 1 year, 3 months ago.

  • Author
    Posts
  • #7312

    Andrew Misplon
    Keymaster

    Diving into this function is a bit beyond the support we usually do here but for what it’s worth, here is the function:

    function break_out_of_frames() {
    	if ( ! is_preview() ) {
    		echo "\n\n\n";
    	}
    }
    add_action( 'wp_head', 'break_out_of_frames' );

    And here is me running it locally without issue in Code Snippets, notice how I’m only running it on the site front-end:

    If you deleted Code Snippets and want to use it again, reinstall it, if you site crashes you’ll need to follow my steps above to put Code Snippets into safe mode so you can delete the function and start over.

    #7314

    Tine17
    Participant

    You are right. The problem didn’t get solved. I have tried three different codes and two plugins…

    #7318

    Tine17
    Participant

    I managed to get it to work with your instructions. Thank you very much!

    #7325

    Andrew Misplon
    Keymaster

    Awesome 🙂

Viewing 4 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic.

Scroll to top