jaclynmarie1
Member
Posted 4 years ago #
Hey, I installed my blog with Fantastico and apparently I forgot somewhere to name my blog. So now, on the index page it just displays the URL on top. I have to following code at the beginning of the title: <?php bloginfo('title');?> I'd like to know if I can call the Blog Title instead, somehow. I'd appreciate the help.
You can set the Blog Title in the admin section - just log in, click on the Options tab and it is the first option under "General Options".
In your header file use <?php bloginfo('name'); ?> as "title" is not a valid parameter for bloginfo()
Does it have a name under "Options" in the dashboard?
jaclynmarie1
Member
Posted 4 years ago #
A 'blog title', nothing about a name.
Hi. I posted this two hours ago, but can only view it when I am logged in???
Might be of help to you:
You can set the Blog Title in the admin section - just log in, click on the Options tab and it is the first option under "General Options".
In your header file use <?php bloginfo('name'); ?> as "title" is not a valid parameter for bloginfo()
jaclynmarie1
Member
Posted 4 years ago #
That's what I said I have...it doesn't work.
You said:
<?php bloginfo('title');?>
Please try:
<?php bloginfo('name');?>
This code should be changed in you site's theme.
To further clarify:
<?php bloginfo('name');?> equals Blog Title.
jaclynmarie1
Member
Posted 4 years ago #
Nope. Didn't work either.
jaclynmarie1,
Is the text that you have entered into Blog Title "Final Stop"? I clicked around your site and your html title tags are being generated in a very similar manner to the K2 Theme. Please post the code that is found in your theme's <title> tag.
jaclynmarie1
Member
Posted 4 years ago #
No, that is not the site I'm talking about. I tried that code and didn't work either.
Please post the code that is found in your theme's <title> tag.
jaclynmarie1
Member
Posted 4 years ago #
This is what I have:
<title><?php bloginfo('name');?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> | <?php } ?><?php wp_title(''); ?></title>