Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #297209

    Hi Guys,

    Is there a way of removing “|” (its a pipe) in the title as it’s automatically being pulled in as it’s blank.

    Cheers

    Carl

    #297257

    Hi Animationink!

    Insert this code into the child theme functions.php or enfold/functions.php file:

    
    add_filter('avf_title_tag', 'avia_change_title_tag', 10, 2);
    function avia_change_title_tag($title, $wptitle)
    {
    $title = str_replace('|', "", $title);
    return $title;
    }
    

    Regards,
    Peter

    #300463

    This work, Thanks dude.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Removing "|" (pipe) in title’ is closed to new replies.