-
AuthorPosts
-
August 11, 2014 at 12:56 am #81985
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
August 11, 2014 at 1:16 am #81990Hi,
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;
October 1, 2015 at 10:36 am #606621Hi 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
October 1, 2015 at 1:15 pm #606833Hi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
October 2, 2015 at 2:35 pm #608535This reply has been marked as private.October 2, 2015 at 6:39 pm #608778Hi 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.
October 4, 2015 at 5:40 pm #610456Awesome, thanks! Worked great!
October 4, 2015 at 9:04 pm #610564You’re welcome!
-
AuthorPosts