Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #316135

    Hi,

    How do i move

    <link rel=’stylesheet’ id=’avia-google-webfont’ href=’//fonts.googleapis.com/css?family=Open+Sans:400,600′ type=’text/css’ media=’all’/>

    to the footer?

    #316178

    Hi,

    Open /enfold/framework/php/class-style-generator.php and look for this line:

    add_action('wp_head',array(&$this, 'print_extra_output'),5);
    

    Replace it by this:

    add_action('wp_footer',array(&$this, 'print_extra_output'),5);
    

    Regards,
    Josue

    #316860

    Hi,

    I tried that but didnt work.

    I tried with reactivating the theme, endless refeshes but still not moving. Also tried putting all those to wp_footer

    add_action(‘wp_footer’,array(&$this, ‘create_styles’),5);
    add_action(‘wp_footer’,array(&$this, ‘print_extra_output’),5);
    add_action(‘wp_footer’,array(&$this, ‘print_styles’),1000);
    add_action(‘wp_footer’,array(&$this, ‘print_footer’),1000);

    #316881

    Never mind. It helped to edit the file in the right wordpress installation ;)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google font’ is closed to new replies.