Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #81985

    mgarcia
    Participant

    Support Team,

    You guys are the best! Fantastic theme, excellent service.

    I am having a small issue – just an aesthetic annoyance I’d like to remove.
    In any web browser, either on the computer, mobile, or tablet, there is a vertical bar line that appears after the website’s name in the browser’s tab. Under settings in the Admin Panel, I left the tagline field blank (where Just Another WordPress Site used to be). I don’t understand why the line still shows up?

    Please refer to the image below to see the problem. Hope you can help and thanks in advance!

    Website: http://www.teachingca.org

    #81990

    Paul R
    Moderator

    Hi,

    Thank you.

    To do that you need to create a child theme.

    Please refer to this article.

    http://theme.co/x/member/kb/how-to-setup-child-themes/

    Then add this to functions.php of your child theme.

    
    if ( ! function_exists( 'x_wp_title' ) ) :
        function x_wp_title( $title ) {
    
        if ( is_front_page() ) {
            return get_bloginfo( 'name' ) . '  ' . get_bloginfo( 'description' );
        } elseif ( is_feed() ) {
            return '  RSS Feed';
        } else {
            return trim( $title ) . '  ' . get_bloginfo( 'name' ); 
        }
    
        }
        add_filter( 'wp_title', 'x_wp_title' );
    endif;
    
    #606621

    isaac.trevino
    Participant

    Hi there,

    I tried that and it didn’t work to remove the vertical line. I’ve attached a screenshot. Am I doing something wrong?

    lifepointnew.org

    #606833

    Jade
    Moderator

    Hi there,

    I have tested the code locally and it should work alright. Have you activated the child theme?

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #608535

    isaac.trevino
    Participant
    This reply has been marked as private.
    #608778

    Jade
    Moderator

    Hi Isaac,

    The reason why the code didn’t take effect because you have the plugin All in One SEO Pack that overrides the function.

    Since you are using it, you can simply go to All in One SEO setting panel and remove the | character in the options under Title Settings.

    You may remove the code in the functions.php file as well. Hope this helps.

    #610456

    isaac.trevino
    Participant

    Awesome, thanks! Worked great!

    #610564

    Rad
    Moderator

    You’re welcome!