• Hey all, I read a while back that someone wanted some Smashable Christmas lights and someone developed a plugin for them etc…
    However there was an error, you needed to insert a <php> code into your header and it “killed” the page on Google Chrome.

    Well, after emailing the guy who made the lights and tweaking this I’ve managed to fix it.. I have no idea what I did but it works. All you need to do now is activate the plugin and you should have Smashable Christmas Lights.
    The lights can be seen here (on a non-wordpress site)
    https://www.schillmania.com/projects/snowstorm/lights/index.html

    You can download the plugin here
    https://www.tomic.com.au/wp-content/uploads/2008/12/christmas-lights.zip

    Like I said, I had no idea how I fixed it so I’ll just copy + paste the whole of the plugin :/ (I don’t know how to make one)
    Christmas Lights.php
    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    lights.js
    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    lights.css
    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

    They’re the only three I changed. Enjoy! ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Smashable Christmas Lights on WordPress!!’ is closed to new replies.