Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Closed Thread
Help! Deleted code and need it back.
Old 03-16-2010, 08:41 AM Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
I'm using wordpress blog and under the appearance tab I clicked on Editor and then selected Header (header.php) on the right side tool bar and then I deleted the code inside the box and now my blog site is messed up. I didn't save a copy of the code so how do I fix this issue? Thanks.
Dirt Hammer is offline
View Public Profile
 
 
Register now for full access!
Old 03-16-2010, 08:43 AM Re: Help! Deleted code and need it back.
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
re-write it?
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 03-16-2010, 08:47 AM Re: Help! Deleted code and need it back.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You might find the HTML (ONLY the HTML) in a search engine cache.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2010, 08:48 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
Quote:
Originally Posted by lynxus View Post
re-write it?
I have no idea how.
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 08:49 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
Quote:
Originally Posted by chrishirst View Post
You might find the HTML (ONLY the HTML) in a search engine cache.
Could you explain in more detail? Thanks.
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 09:01 AM Re: Help! Deleted code and need it back.
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Quote:
Originally Posted by Dirt Hammer View Post
Could you explain in more detail? Thanks.
Google your page,
Then click Cached ( or cached copy )


Or maybe even look in the wayback machine.

However as chris said, It will only be the HTML so if the php did anything dynamic, That would be lost.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
View Public Profile Visit lynxus's homepage!
 
Old 03-16-2010, 09:08 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
Quote:
Originally Posted by lynxus View Post
Google your page,
Then click Cached ( or cached copy )


Or maybe even look in the wayback machine.

However as chris said, It will only be the HTML so if the php did anything dynamic, That would be lost.

O.k I google my page and clicked on cached but then what? Thanks.

Any other way to fix this? I tried loading other templates but no luck. Without the code I'm screwed.

Last edited by Dirt Hammer; 03-16-2010 at 09:10 AM..
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 09:13 AM Re: Help! Deleted code and need it back.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
but then what
Get the HTML from viewing the source.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2010, 09:14 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Get the HTML from viewing the source.
I'm not realy sure what your talking about. Please provide more details. Thanks.

Last edited by Dirt Hammer; 03-16-2010 at 09:18 AM..
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 09:24 AM Re: Help! Deleted code and need it back.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Right click on the cached page, select "View Source" from the menu
or
Use "View -> Source from the browser menu.
or
CTRL+U (Firefox on Windows)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2010, 09:35 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
What other options do I have?

Thanks I copy the header HTML code but no change in site appearance. Thanks for the help.
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 09:38 AM Re: Help! Deleted code and need it back.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
What other options do I have?
None basically.

What did the code do?

Was it a standard header or had there been some modifications?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2010, 09:42 AM Re: Help! Deleted code and need it back.
Average Talker

Latest Blog Post:
Web 2.0 Graphics Pack
Posts: 28
Trades: 0
header.php is the code of the theme, so just upload header.php from your wordpress theme source code
__________________

Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE
::
Please login or register to view this content. Registration is FREE
goandcheck is offline
View Public Profile
 
Old 03-16-2010, 10:21 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
Quote:
Originally Posted by goandcheck View Post
header.php is the code of the theme, so just upload header.php from your wordpress theme source code
Thanks for your help but I'm having probelm with uploading the header.php I'm not sure how or where to perform this task. I have been clicking on everything and not getting anywhere.
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 10:37 AM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
It appears this header.php affects every theme I load. So I need this code to restore my blog.
Dirt Hammer is offline
View Public Profile
 
Old 03-16-2010, 03:02 PM Re: Help! Deleted code and need it back.
Skilled Talker

Posts: 87
Name: art
Trades: 0
issue resolved at this time. loaded a new template and it o.k
Dirt Hammer is offline
View Public Profile
 
Closed Thread     « Reply to Help! Deleted code and need it back.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 2.14960 seconds with 12 queries