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

    Hello
    I started my site from the beginning with your theme and noticed a bug with the noindex meta balise in the head.
    In the General parameters of my theme, I asked “No index”.
    But in the default head of the theme, there is a meta robots index.
    You should fix this.
    JB

    #443951

    Hi JB!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_set_follow','avia_set_nofollow');
    function avia_set_nofollow(){
    $meta = '<meta name="robots" content="noindex, follow" />' . "\n";
    return $meta;
    }

    Cheers!
    Yigit

    #443953

    Ok thank you. I’ll try this.
    Do you have a solution for the functions.php file when update of the theme ? If I update the Theme, the functions.php is replaced and all the lines inserted in it will be deleted.
    Thanks
    JB

    #443954

    Hi!

    You can use a child theme to avoid that – http://kriesi.at/documentation/enfold/using-a-child-theme/ :)

    Best regards,
    Yigit

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