Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #549296

    This is a very basic question but how/where do I add the following so it gets inserted on all pages before the <head>:

    <meta http-equiv="X-Frame-Options" content="allow">

    • This topic was modified 8 years, 11 months ago by JAMMAN.
    #549410

    Hi JAMMAN!

    Add this to your child theme functions.php file.

    add_action( 'wp_head', 'enfold_customization_header_scripts' );
    function enfold_customization_header_scripts(){
    echo '<meta http-equiv="X-Frame-Options" content="allow">';
    }

    Cheers!
    Elliott

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.