Website Coding

Stuck on a line of code? Find resources and post your coding questions here.

Forum Sponsor (Advertise with us)
Reply
 
Thread Tools Display Modes
    #1 (permalink)  
Old 07-22-2010
AM/PM Virtual Assistants's Avatar
Contributing Member
Company name: AM/PM Virtual Office Assistants
 
Join Date: May 2010
Location: Georgia
Posts: 81
Default Duplicate Home Button
Hi all,
I have been researching on wordpress.org on how to remove the hardcode for the home button. I have two on my horizontal navigation bar. The instructions stated to go into the header.php file and delete this line:

"The reason you have two home buttons is because many themes hard wire a link to the home button. In most themes this is in file header.php. Find the call to wp_list_pages. Just above it should be a line that starts with <li> and contains a reference to "Home"
Try deleting the line before wp_list_pages. That should get rid of the double Home buttons."

This is where I screwed up royally! I could not find this is the header.php, but I did find it in the themefunctions.php file. I commented it out instead of deleting the line, and now all I get is a blank page when I try to view any of my pages including the wordpress dashboard!!!

Can anyone offer me any assistance on how to fix this huge problem? I am able to use Filezilla to fix the problem, but I don't know how to fix it.

Thanks in advance,

Lynn
__________________
Lynn Mallory
AM/PM Virtual Office Assistants, LLC
Reply With Quote
    #2 (permalink)  
Old 07-22-2010
AM/PM Virtual Assistants's Avatar
Contributing Member
Company name: AM/PM Virtual Office Assistants
 
Join Date: May 2010
Location: Georgia
Posts: 81
Default Re: Duplicate Home Button
Update: I was able to fix the blank page problem by going into Filezilla to delete the /* symbols in the functions.php file.

I still have the duplicate home button problem though.

Lynn
__________________
Lynn Mallory
AM/PM Virtual Office Assistants, LLC
Reply With Quote
    #3 (permalink)  
Old 07-22-2010
ChristinaVOS's Avatar
Active Member
Company name: VOSTeam/Business Darlings/PainlessWP
 
Join Date: Nov 2007
Location: Upstate NY
Posts: 886
Send a message via AIM to ChristinaVOS Send a message via Skype™ to ChristinaVOS
Default Re: Duplicate Home Button
Lyn,
Have you gone in to settings->reading-> and chosen "static page"?

Choose the page you want as HOME for front page (ignore posts page if you don't have a blog area)

If that's not working- PM me a sign in and I'll go see where it is referenced in the theme.

~C
__________________
~Christina|BD Mag|VOSTeam
Reply With Quote
    #4 (permalink)  
Old 07-22-2010
AM/PM Virtual Assistants's Avatar
Contributing Member
Company name: AM/PM Virtual Office Assistants
 
Join Date: May 2010
Location: Georgia
Posts: 81
Default Re: Duplicate Home Button
Hi Christina,

Yes, I have the Home page as my static page, and no page is selected for the posts page. I will PM you now!

Thank you,

Lynn
__________________
Lynn Mallory
AM/PM Virtual Office Assistants, LLC
Reply With Quote
    #5 (permalink)  
Old 07-22-2010
ChristinaVOS's Avatar
Active Member
Company name: VOSTeam/Business Darlings/PainlessWP
 
Join Date: Nov 2007
Location: Upstate NY
Posts: 886
Send a message via AIM to ChristinaVOS Send a message via Skype™ to ChristinaVOS
Default Re: Duplicate Home Button
All fixed

I pm'd you what I did.

~C
__________________
~Christina|BD Mag|VOSTeam
Reply With Quote
    #6 (permalink)  
Old 07-22-2010
D_Victoria_Virtual_Assistance's Avatar
Resident Member
Company name: D. Victoria Virtual Assistance
 
Join Date: Dec 2007
Location: New Jersey
Posts: 1,783
Blog Entries: 15
Default Re: Duplicate Home Button
Just wanted to say that, Christina, you rock. It always makes me smile when I see you swoop in and save the day.
__________________
Darlene Victoria Gonzalez
The Voice & Vision Behind Your Business
Reply With Quote
    #7 (permalink)  
Old 07-22-2010
ChristinaVOS's Avatar
Active Member
Company name: VOSTeam/Business Darlings/PainlessWP
 
Join Date: Nov 2007
Location: Upstate NY
Posts: 886
Send a message via AIM to ChristinaVOS Send a message via Skype™ to ChristinaVOS
Default Re: Duplicate Home Button
LOL Darlene.

Funny you should say that phrase- I am moving my site to a new domain and totally rebranding soon. I was playing with a the superman logo idea today. ;-)

hmmmmmmm- Universe is trying to tell me something?

~C
__________________
~Christina|BD Mag|VOSTeam
Reply With Quote
    #8 (permalink)  
Old 07-22-2010
D_Victoria_Virtual_Assistance's Avatar
Resident Member
Company name: D. Victoria Virtual Assistance
 
Join Date: Dec 2007
Location: New Jersey
Posts: 1,783
Blog Entries: 15
Default Re: Duplicate Home Button
Oh yes, I think the Universe is definitely telling you something.

Looking forward to seeing the new "you"
__________________
Darlene Victoria Gonzalez
The Voice & Vision Behind Your Business
Reply With Quote
    #9 (permalink)  
Old 07-22-2010
AM/PM Virtual Assistants's Avatar
Contributing Member
Company name: AM/PM Virtual Office Assistants
 
Join Date: May 2010
Location: Georgia
Posts: 81
Default Re: Duplicate Home Button
I agree with Darlene, you are superwoman, thank you! I am in anticipation for your new look as well!

Lynn
__________________
Lynn Mallory
AM/PM Virtual Office Assistants, LLC
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[News] Facebook's new Like button for Websites JKVirtualOffice Social Media Marketing 4 09-20-2010 12:34 AM
coding for adding button to site kdbbiz Website Coding 12 01-23-2010 10:27 PM
[Question] Twitter contact button... ShanteM General Website Design and Development 5 04-20-2009 02:22 PM
submit button in Dreamweaver CherishR Website Coding 3 04-11-2009 05:24 PM


All times are GMT -4. The time now is 11:16 AM.

International Virtual Assistants Association
Project Management for Virtual Assistants
Work from Home | Become A Virtual Assistant
Virtual Assistant Directory
Affordable WordPress Themes
Create a Professional New Client Welcome Packet
Virtual Assistant Forums Advertising

© Virtual Assistant Forums 2012
All content and images are protected under copyright law and may not be reproduced in any way without express written consent.