Forums

[resolved] Blog title function not working in 2.8.6 (3 posts)

  1. searchzombie
    Member
    Posted 2 years ago #

    I just setup WordPress 2.8.6 on a new domain (www.andyjohns.org). I installed some themes but noticed that the Header was not functioning correctly. Instead of pulling from the "blog title" field in the "general settings" section of the WordPress admin panel it is defaulting to the title of the theme I am using.

    Below is the code in the header.php file of the theme I am using:

    <div class="blogname">
    <h1>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></h1>
    <h2><?php bloginfo('description'); ?></h2>
    </div>

    It is pulling 'siteurl' correctly and the 'description' that renders in the H2 but I can't seem to get it to pull in the 'name' function correctly.

    Is this a known issue with 2.8.6? I tried using several different themes but that didn't work. I also tried deactivating all plugins if there was some sort of plugin conflict but that didn't do it either.

    Would really appreciate help here....

  2. carlosmendoza
    Member
    Posted 2 years ago #

    It's not a plugin or wordpress issue, what you see in the header is an image set in the CSS of the theme, your blog title (Andy Johns) is hidden because the CSS of the theme sets it at 9000px to the left.

    upload a logo image to the 'images/' directory with the name 'logo.jpg' in the theme or edit the CSS to fix this

  3. searchzombie
    Member
    Posted 2 years ago #

    Thanks Carlos! I need to spend some time learning CSS so that I can identify things like this earlier. Strange how he put the title off page. That's an old school SEO spamming technique when you put text off page.

    Anyhow, it's fixed now. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic