Title: Lost Work?
Last modified: August 18, 2016

---

# Lost Work?

 *  [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/)
 * Do you have to log out after making changes in the admin mode for them to take
   effect? I made a lot of changes, had to shut down the puter (without logging 
   out), and now I go back and they’re gone. 🙁
    HUGz and thanks! Jules

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40902)
 * Okay, I now realize that I do indeed have to log out to make changes appear.
   
   However, now I have a new delimma … I saved a template … but I don’t know what
   I am supposed to change in the css file … or which css file I am to make the 
   change in. Thanks all! Jules
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40914)
 * Logging out .. you shouldn’t have to do this to see changes. I’m never logged
   out of my two, and I’m forever fiddling with bits there.
    CSS / Template. Not
   quite sure what you mean here. Assuming you have altered nothing since set up,
   the css is contained in ‘wp-layout.css’. If you have a new css template, you 
   will need to alter this line in ‘index.php’ <style type="text/css" media="screen"
   > [@import](https://wordpress.org/support/users/import/) url( '[http://www.tamba2.org.uk/T2/wp-layout&#39](http://www.tamba2.org.uk/T2/wp-layout&#39););
   </style> and make sure it points to your new css. –OR– rename the new css to 
   be ‘wp-layout.css’ and upload it to the main WP directory. To be safe, rename
   the old css file just so you have a backup. If none of this is clear, do post
   back !
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40923)
 * Yeah!! That worked! Thank you so much!
    I’m just trying to figure out how things
   are linked, and where to go to make changes. I’m not totally up to speed on CSS…
   but I am guessing at this point that is primarily where I’ll find everything 
   I need, if I need to make changes, right? The next thing I’d like to try and 
   do is figure out how to get the smilies to show up … and I downloaded someone’s
   hack for smilies, but I’m not sure what to do. I am thinking that I need to move
   that php file into the my-hacks.php file I created, but then what? Thanks bunches!
   Jules
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40924)
 * In the smilies hack note it says to include the wp-grins.php file in your my-
   hacks.php file, add this to
    your my-hacks.php file: <?php require_once(‘wp-grins.
   php’); ?> But when I go and add <?php require_once(‘wp-grins.php’); ?> to that
   page … which is just a blank page (?) I then get an error logging in. Am I supposed
   to have other code in the my-hacks.php page? HUGz and thanks! Jules
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40925)
 * Well pickle! I guess when I added that line to the my-hacks.php file it changed
   other files.
    I did delete the code from that file, and refreshed, but now when
   I try and go to my blog I get about 10 errors that look like this one: Warning:
   Cannot modify header information – headers already sent by (output started at/
   home/virtualw/public_html/blog/my-hacks.php:3) in /home/virtualw/public_html/
   blog/wp-login.php on line 122 Help please. I evidently screwed up more than one
   thing when I added that code to the my-hacks.php file. 🙁 HUGz! Jules
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40931)
 * Jules,
    Your my-hacks.php file must start with: <?php and end with: ?> Make sure
   that all of your functions come between those tags. Also, check to make sure 
   that there aren’t any spaces or returns or anything after the closing ?> HTH.
   Craig.
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40933)
 * Thanks Craig … but I’m still confused.
    I added a new page called my-hacks.php…
   And I added this code: <?php require_once(‘wp-grins.php’); ?> Am I supposed to
   have any other code in that page? I also tried making it like a HTML page, and
   put that code in the Body, but that didn’t work either. LOL I’m just confused
   about what code is supposed to be in the page. HUGz and thanks! Jules
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40936)
 * my-hacks.php isn’t a page as such, it’s just a file.
    If you are using Windows,
   open Notepad, and put all the code for the smilies into that. Be *very* sure 
   that before the first < and after the last > there is no white space or carriage
   returns. Save that file as “my-hacks.php” and upload it to the same directory
   as your other WP files – where index.php is. If after doing this, you see errors
   about “headers already sent”, then you have white space outside of the brackets
   above. Let us know how you get on ? 🙂
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40937)
 * Okay … wait a minute … I think I might have got it straightened out … the page
   is loading with no errors … but the smilies aren’t there.
    [http://www.virtualwebgistics.com/blog/index.php](http://www.virtualwebgistics.com/blog/index.php)
   So, I’m wondering if I was supposed to create a separate ‘folder’ for the wp-
   grins.php file? As it is right now, that file is just in the main root. Another
   question, when you say that all php pages need to start with <?php and ?> … that’s
   not how my ‘quicktags.php page looks like. It’s just javascript. The file I am
   referring to is the quicktags.php file that is in the ‘wp-admin’ folder. Should
   I add <?php and ?> at the beginning and end of that file? Right now all the quicktags.
   php file has in it is: <script src=”quicktags.js” language=”JavaScript” type=”
   text/javascript”></script> <script language=”JavaScript” type=”text/javascript”
   >edToolbar();</script> <?php wp_grins(); ?> Thanks and sorry to be such a pain.
   Jules
 *  Thread Starter [nekkidfish](https://wordpress.org/support/users/nekkidfish/)
 * (@nekkidfish)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40940)
 * Never mind … I got it! Yippee! I didn’t realise the smilies only show if you’re
   in the admin mode. What a doofus!
    HUGz and mucho thanks! Jules
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40951)
 * Not sure why you’ve got the wp_grins in the quicktags file…
    It really could 
   do with being outside of all the WP files, otherwise, when you upgrade your WP
   install, that will be overwritten and you’ll have to do it all again. Maybe this
   will help… Create a new file in Notepad. Have this as the only thing in it: <?
   php require_once(‘hacks/wp-grins.php’); ?> Make sure there is no whitespace or
   a carriage return before, or after the brackets. Save this as ‘my-hacks.php’ 
   and upload it to your WP directory. In your main WP directory, create a folder
   called hacks. Into that folder, put the wp-grins code. You must have saved this
   as a file called “wp-grins.php”. The no-whitespace rule applies! Now, WP will
   look for the my-hacks.php, and the my-hacks.php will look inside the hacks folder
   for the code. This way, your hacks are safe from being overwritten. If this makes
   no sense but you want to pursue it, feel free to email me. podzATukbodyartDOTorg
   🙂

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Lost Work?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [22 years ago](https://wordpress.org/support/topic/lost-work/#post-40951)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
