Posted By

wpbedouine on 10/14/11


Tagged

wordpress-basics


Versions (?)

Bloginfo url and description in WordPress site header


 / Published in: HTML
 

  1. <div id="header">
  2. <h1>
  3. <a href="<?php bloginfo('url'); ?>">
  4. <?php bloginfo('name'); ?>
  5. </a>
  6. </h1>
  7. <h2><?php bloginfo('description'); ?></h2>
  8. </div>
  9.  
  10. <-- which replaces -->
  11.  
  12.  
  13. <div id="header">
  14. <h1>
  15. <a href="http://www.yoursite.com">
  16. Your Site Name
  17. </a>
  18. </h1>
  19. <h2>Your Site's tagline</h2>
  20. </div>

Report this snippet  

You need to login to post a comment.