• I am trying to use a program called Mobify to make my site mobile friendly. They require you to past some code after the <HEAD> tag in the “Header” section of the Editor.

    The problem I’m running into is that the <HEAD> tag doesn’t exist in that location with my theme “Ambitious”. How can I add this snippet of code?

    This is what I have in my header section:

    <?php
    function am_header() {

    global $themename, $options;

    $options = array (

    array( “name” => “Header Settings”,
    “type” => “pagetitle”),

    array( “name” => “Use custom logo image”,
    “desc” => “You can upload custom logo image.”,
    “id” => SHORTNAME.”_logo_custom”,
    “type” => “file”),

    array( “name” => “Hide logo image”,
    “desc” => “Check this box if you want to hide logo image and use text site name instead”,
    “id” => SHORTNAME.”_logo_txt”,
    “std” => “”,
    “type” => “checkbox”),

    array( “type” => “separator”),

    );
    kot_add_admin(‘am_header’);
    }

  • The topic ‘Need to add snippet of code but don't know where it goes.’ is closed to new replies.