Sensible Wordpress Structure Questions..

3 replies
  • WEB DESIGN
  • |
Ok I've just been over to W3schools and have come away armed with enough information to do what I want to do.

Now What I want to know is this...

What file/files would I need to edit so that my post titles become (H1) tags rather than (H2) styles.css? or something else?

For my blog title to be displayed as an image rather than Text, would I just go into my general setting and put in there the link to my img uisn <im src =""> or is it more complicated?

Cheers.

Proabbly have more questions I'll update when I come across them.
#questions #structure #wordpress
  • Profile picture of the author roy-gol
    Originally Posted by Intrepreneur View Post

    Ok I've just been over to W3schools and have come away armed with enough information to do what I want to do.

    Now What I want to know is this...

    What file/files would I need to edit so that my post titles become (H1) tags rather than (H2) styles.css? or something else?

    For my blog title to be displayed as an image rather than Text, would I just go into my general setting and put in there the link to my img uisn <im src =""> or is it more complicated?

    Cheers.

    Proabbly have more questions I'll update when I come across them.
    Hi
    Are you editing your website using WP? If so you have the option of applying H1 to H6 headers in the MANAGE tab. This is where you actually write your posts, put videos, photos determine the size and color of letters etc...
    Let me know if it works for you
    Roy
    {{ DiscussionBoard.errors[772140].message }}
    • Profile picture of the author Intrepreneur
      Ok this is the code I beleive I have to edit.

      Code:
      <div id="header-info">
                  <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
                  <div class="description"><?php bloginfo('description'); ?></div>
      I don't understand though, I know to put this in

      Code:
      <div id="logo">HTML to display the web site logo image</div>
      Then know that there is something else I should edit, to make sure that the h1 tags are included i guess
      thats something to do with the page template and chnage (h2) to (h1) and reflect it in the css.

      Any ideas what I do here?

      Cheers.
      {{ DiscussionBoard.errors[773823].message }}
  • Profile picture of the author Geejayz
    Hi,

    You need to edit the main index template, and the single post (and/or single page) template and replace the tags with H1. You may also need to change the css style so that the H1 tags reflect the original style.

    For the header, you are correct to edit the header.php file. You should be able to keep the original div container for the header and drop in your image code inside this.

    To use your example above:

    Code:
    <div id="header-info">
                <h1><a href="<?php echo get_option('home'); ?>/">
     
    <img src ="http://www.yourdomain.com" />
     
    </a></h1>
                <div class="description"><?php bloginfo('description'); ?></div>
    {{ DiscussionBoard.errors[774690].message }}

Trending Topics