Forums

Calling Blog Title instead of Name (13 posts)

  1. 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.

  2. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    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()

  3. BPartch
    Member
    Posted 4 years ago #

    Does it have a name under "Options" in the dashboard?

  4. jaclynmarie1
    Member
    Posted 4 years ago #

    A 'blog title', nothing about a name.

  5. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    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()

  6. jaclynmarie1
    Member
    Posted 4 years ago #

    That's what I said I have...it doesn't work.

  7. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    You said:

    <?php bloginfo('title');?>

    Please try:

    <?php bloginfo('name');?>

    This code should be changed in you site's theme.

  8. Kafkaesqui
    Moderator
    Posted 4 years ago #

    To further clarify:

    <?php bloginfo('name');?> equals Blog Title.

  9. jaclynmarie1
    Member
    Posted 4 years ago #

    Nope. Didn't work either.

  10. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    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.

  11. 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.

  12. Michael Fields
    Theme Wrangler
    Posted 4 years ago #

    Please post the code that is found in your theme's <title> tag.

  13. 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>

Topic Closed

This topic has been closed to new replies.

About this Topic