bernard1980
Member
Posted 4 years ago #
hi,
another question...
In the <head> <title> i removed everything except <?php wp_title(); ?> but still there is a > befvisible in front of the title which i guess basically means this character is added to the database but now my question ...
is there a way to remove this ?
There is no > in font of the title. Just check if you've got some bad coding in your index.php. Perhaps there's just a > that shouldn't be there.
bernard1980
Member
Posted 4 years ago #
In the meta of the header there is
<meta name="copyright" content="Startersgids.be">
<meta name="Language" content="NL">
<meta name="revisit" content="15 days">
<title><?php wp_title(); ?></title>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory') ?>/reset-fonts-grids-tabs.css" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
As you can see there is
<title><?php wp_title(); ?></title>
But when you check the navigationbar on my site it says (double > + title
http://www.startersgids.be
bernard1980
Member
Posted 4 years ago #
Even if ther would be somewhee a > misplaced the chance that it becomes visible n he title navigatio van is small .. there wouldbe much more chance to be somewhere on the page itself
rszczypka
Member
Posted 4 years ago #
Look at the Settings page in the backend. And then go into General or Permalinks. Check if there is anything like >>
bernard1980
Member
Posted 4 years ago #
nope -> permalinks is custom /%post_id% ..nowhere >>
sry for all spelling mistakes --> low battery wireless keyboard :-)
rszczypka
Member
Posted 4 years ago #
another option is:
try to use <title><?php wp_title(' '); ?></title>
and see if it works
bernard1980
Member
Posted 4 years ago #
last one workes ! great ... thanks
rszczypka
Member
Posted 4 years ago #
I always use:
<title><?php if (is_home()) {bloginfo('name') ;} else { wp_title(' ');} ?></title>
it displays the blog title when you are in the homepage and the page title everywhere else.
bernard1980
Member
Posted 4 years ago #
tnx but it just says home here :-) but i'm gonna chan that anyway so...
( **** keyboard :-(