Urban Giraffe Support | HeadSpace
blog title still showing
Hi:
trying to figure out why my blogtitle is still showing in the <title> tag.
my header template shows:
<head><title><?php do_action('display_page_title'); ?></title>
<?php
do_action('wp_head');
?>
</head>
but no matter what I put in the global settings or the post or page title; the blogname still shows first followed by the title tag. As a matter of fact the specified post or page title only show if I don't specify any global settings at all. ( Aren't the post tags supposed to supercede the global settings when present?)
I tried several themes and different browsers but the problem persists. any help greatly appreciated
thank you
michael

Responses
Posted 2 years ago by Administrator
This is the title code from the default theme (header.php):
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
I don't know what 'display_page_title' is from, but it won't achieve any output from HeadSpace.
Posted 2 years ago by Member
Hi there,
I have exactly this problem - that whatever I do, I always get the Blog Title before everything else I specify. As I read this entry, I of course checked in my header.php and solved part of the problem (that my keywords and descriptions didn't show) in that I deleted the tags altogether in the header.php. And I also changed my title tag so it looks exactly as the one above - with the result that I always get the Blog Title first, followed by a ">>", and if its a single post page, I also get the "Blog Archive" phrase ...
Another problem is related to the qtranslate plugin that I use which puts everything in language tags. So if I try to use the page title I get something like "<title>Zusammenleben in Israel » [lang_de]Ihre Fragen[/lang_de][lang_en]Your Questions[/lang_en] | Zusammenleben in Israel</title>". I know that this is probably none of your business. But maybe you do have an idea what I could do about it?
And then I have a last question: If I specify under general settings that for example the exerpt should be used for description, it would be nice if this would already be filled in the respective field, so I could just edit this without having to copy and paste. Besides, when I'm inside the article editing it, I might not remember - in fact, I do not remember - what I specified in the genereal settings ;-) Would it be possible to integrate this?
I really would appreaciate your help with this!
Thanks + best regards
Martina
Posted 2 years ago by Administrator
The qtranslate issue is something you'll need to look into with the qtranslate website. I would imagine that there is a function you can call that will convert some text with square braces into a localised version. This will need to be called in your title.
When you configure HeadSpace to use the excerpt for the description this is an automatic action. If you then put some text into the excerpt field of a particular post this will override the automatic action for that post only. This way there is no need for any copy and pasting.
Posted 2 years ago by Member
As to qtranslate - thanks, I tried to contact them already.
Regarding the description - Yes, I know this is the way it is working. But what I would like to ask is if, when editing an article, it were not possible that the description field is automatically filled in with whatever I defined to put in there (for example the excerpt). Because the way I use it is that I most often don't use the exact text, but only use it as a starting point. But this is only something for the wishlist.
Unfortunately, there is still my main problem with the Blog Title still showing up in the title, i.e. my title has both - first the blog title and then the title I defined ...
Thanks again!
Reply
You must log in to post.