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

    Hi.

    I see in the settings > general for wordpress that you can enter information for both a site title and a tagline for your site. this then comes up as x | x in the browser chrome

    I am only interesting in using a ‘site title’ – but, unfortunately this comes up as x | – with the divider character still in place.

    i saw another forum post (https://kriesi.at/support/topic/browser-tab-title-2/) that outlined some code to use but wanted to inquire further.

    1. is this still the same code i would use to remove the “|” character?

    2. the post refers to adjusting a php document that resides in one of the parent theme’s folders and i’m using a child theme. i’m hesitant to adjust anything in the parent theme as i’d like to bulletproof my site against losing customizations with any future theme updates.

    so with that in mind, i’d like to have the php changes reside in a child theme php doc.

    would I then just copy the code mentioned in the forum post to my child-them’s function.php file? or should i copy over the function-set-avia-frontend.php document from the parent theme folder to my child theme folder and adjust that?

    do i need to create any kind of hierarchical folder structure to mimic those found in the parent folder (e.g. framework > php)?

    and finally, will the child theme php docs take priority over those in the parent folder?

    thanks in advance for your reply.

    cheers-

    cindy

    #402764

    Hi Cindy

    Please add following code to Functions.php file of your child theme in Appearance > Editor

    add_filter('avf_title_tag','avia_new_title');
    function avia_new_title() {
    $title = get_bloginfo('name');
    return $title; 
    }

    You no longer need to edit theme files :)

    Best regards,
    Yigit

    #403685

    Dear yigit,

    thank you so much – it worked! yah!

    cheers-

    cindy

    #404233

    Hi!

    Great, glad you got it fixed :)

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Browser Window Title – Adjusting’ is closed to new replies.