Ajay's Creations Support Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ajax Edit Comments is now subscription based. All support questions need to be directed to http://www.ajaxeditcomments.com/forums/

Pages: [1]   Go Down

Author Topic: Editing Title  (Read 187 times)

urbangr3

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
    • View Profile
Editing Title
« on: January 27, 2010, 10:30:55 PM »

Hello, I have been going through the code for some time and can't seem to find the option I am looking for. I want to change the title/name that appears in the header. By default it is the url of the website, which is alright but I really wanted to change it to just the site name without the ".com". Is it possible to do this and still have it function as a link when hovered over?
Logged

Ajay

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 521
    • View Profile
    • Ajay - On the Road called Life
Re: Editing Title
« Reply #1 on: January 27, 2010, 11:44:00 PM »

You can edit the header.php file
Logged

urbangr3

  • Newbie
  • *
  • Offline Offline
  • Posts: 4
    • View Profile
Re: Editing Title
« Reply #2 on: January 29, 2010, 08:21:43 AM »

I guess I must not be finding exactly which part to change, because I have tried editing several parts of the header.php and can't seem to find the right thing. All the changes I have made either appeared to do nothing or messed up how the page displayed. Could you tell me which line of code to edit? Thanks.
« Last Edit: January 29, 2010, 08:24:11 AM by urbangr3 »
Logged

Ajay

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 521
    • View Profile
    • Ajay - On the Road called Life
Re: Editing Title
« Reply #3 on: January 29, 2010, 08:41:30 AM »

Hi,

You need to edit this portion:

Code: [Select]
<div id="headimg">
<h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<div id="desc"><?php bloginfo('description');?></div>
</div>

You can replace
Code: [Select]
<?php bloginfo('name'); ?> with whatever name you want displayed
Logged
Pages: [1]   Go Up