• Hi all,

    I am quite new to WordPress. Only having used it for a week and a half. In that time I have customised both my business and personal blogs to my liking. I removed the smilies I got with WordPress and added my own. I customised the functions.php so I could use my own keypress with the smilies I uploaded. Everything has been working absolutely perfecto! ??

    Today I upgraded my blog to 2.5.1. The installation went fine. Except the smilies I overwrote the default (i.e. : lol: minus space) has reverted back to default. The ones I have uploaded myself such as I uploaded a heartbeating smilie and used :heart: for the keypress. That has gone.

    Is there an easy way to ensure upgrading does not mess with my smilies? The new installation had a new functions.php file. I upgraded that as I wasn’t sure whether the upgrade from 2.5 to 2.5.1 had functions modification. So I thought it was in my best interest to upgrade it. Is there an easy way or do I just do what I did by removing all smileys, uploading mine (from my back-up) then editing the functions.php?

    Thank you for your time in reading this.

    Regards,
    Lisa

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is there an easy way to ensure upgrading does not mess with my smilies?

    that depends. are you wget’ing the zip? or downloading it to your pc, and then uploading the files. If its the latter don’t upload the default smilies inside the zip.

    the files present another issue, and thats why people are discouraged from “hacking the core” (editing core WP files). Many of us do it though.

    If you are going to, I recommend commenting your changes inside the files, and making a note of it somewhere. Then when you go to upgrade, you can diff the files, and apply your changes to the new files.

    Theres really no other way.

    Thread Starter lisa_clev

    (@lisa_clev)

    Hi, thank you very much for responding.

    that depends. are you wget’ing the zip? or downloading it to your pc, and then uploading the files. If its the latter don’t upload the default smilies inside the zip.

    Yes, I download the zip and do as it states in the upgrading. I always download my entire blog directory first as a backup just in case. Then I upload via FTP. It’s so much easier for me to just drag and drop the files inside the downloded zip straight where I want rather than to nit pick files, know what I mean.

    I think in that case (and thank you for confirming there isn’t another way) it would be easier for me to just upload everything, then go into the smilie directory, delete them all, upload my old ones from my back up, then download the new functions.php, open the old and just copy and paste just the smiley part into the new one and upload (ensuring I back-up just in case). I think it would be easier taking just those 2 steps rather than sorting out the folders on upload and picking them out.

    Thanks ever so much again. Much appreciated.

    Lisa

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customised functions.php and smilies’ is closed to new replies.