WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I really need help.

I'm using Private Lawyer theme, and I'm having this problem,

Eg: Home >> Photo Gallery

the "home" not refer to my homepage. when I click it, it refer back to photo gallery page. I view the source code behind and yes, it did not link to homepage.

how to change it back to homepage? anyone please help, thankyouuu!

*it is not the home in main menu above.

share|improve this question

Use get_home_url() to link to the home page:

echo '<a href="' . get_home_url() . '">Home</a>';
share|improve this answer
where can i view the theme codes to put the code above? sorry i'm newbie. – hauralina May 23 '13 at 4:34
@hauralina I don’t know that theme. Search for >> with an editor that can search multiple files at once like Notepad++. – toscho May 23 '13 at 4:35
Thankyou toscho for help, but I cant get it bcoz I do the editing through online using wordpress 3.5.1 . I just start it since last two weeks and until now I dont know how to view the code. I only view it through mozilla. – hauralina May 23 '13 at 4:40
You have to download the theme directory per FTP, make a backup, edit the file and re-upload it. The built-in theme editor cannot search, and it does not allow editing files in subdirectories. – toscho May 23 '13 at 4:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.