Support » Fixing WordPress » BLOG TITLE- Where is it stored, please?

  • Hi. I need to add some code for a “superscript” to my Blog Title. On page titles, I was able to add <sup>SM</sup></span> right in the Page Title line, but that does not work with the Blog Title (so it seems). So I was hoping to find the Blog Title somewhere and insert the code there. I am very new to this, so I’m sorry if this is too basic. I have looked around in a lot of files and did some googling–so I at least tried before asking. Thanks.

    Greg

Viewing 3 replies - 1 through 3 (of 3 total)
  • the blog title is the general settings section of your dashboard

    You can give this a try. Open header.php of the OminBlock theme and find this line:

    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    change it to:

    <h1><a href="<?php echo get_option('home'); ?>/"><?php echo ('yourblogname <sup>SM</sup>'); ?></a></h1>

    Or whatever variation of that will work for you. Although that doesn’t look very clean to me it works. Perhaps someone else will have a different thought on it.

    The text of the title can be found in the General Settings as @viceng pointed out, but it looks more like you want to add HTML to your theme in the form of <sup></sup>.

    If that is the case you will likely need to look in your header.php file for a bit of code that resembles this, for example:

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

    Then you can add your own “code” as you see fit. Following your OP:

    <span><sup><?php bloginfo('name'); ?></sup></span>

    Hope that points you in the right direction …

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘BLOG TITLE- Where is it stored, please?’ is closed to new replies.