Hacking WordPress

Posted on 22. Sep, 2008 by in Blog

I’ve been helping out John Dickinson from Motionworks with his new site that is going to be up soon. Doing that I took advantage of the legacy my-hacks.php file in WordPress architecture. It’s great that Tea Cups With Lids Amber Rings Wholesale Tea Trays Toddler Sleeping Bags you can still use this file. It allows doing cool things with your post and WordPress in general without going into writing a real plugin.

I created some functions for preprocessing the posts before they are being displayed on the site. Most of the work was around the Shadowbox engine. Among other stuff I made the Shadowboxer and Shadowbox Gallery Generator.

Shadowboxer scans the post for all links and adds a Shadowbox to them, except some specyfic file types (like ZIP) and the links that already have Shadowbox applied to them.

Shadowbox Gallery Generator introduced a new tag that can be used to automatically generate code for making a shadowbox gallery. Now all that is required to create a gallery is simply uploading the files to a specyfied directory and then using [jdGallery:Name] to create the gallery.

Both functions work great and I’m sure I’ll use them as well when my new site is up.

Tags: ,

8 Responses to “Hacking WordPress”

  1. JD

    22. Sep, 2008

    And man does it look cool! Thanks Maltaannon, can’t wait to get the new site online.
    JD

  2. Janus

    22. Sep, 2008

    Your new site :D ? Sometimes I wonder if your in over your head with all those projects going, but looks like you manage too juggle all the balls just fine. I use a system similar to the shadowbox script, but only for pictures, this looks very cool, and it might be a good way to present inline content too. Anywho.
    Take care Maltannon. Peace

  3. Pliss

    19. Nov, 2008

    Please hack and delete my blog hendriadi.info and hendriadi.wordpress.com

    please i need the blog down now.. cause i forgot the password and someone use it..

    its also challange for any hacker can you defeat wordpress..?

  4. Maltaannon

    19. Nov, 2008

    Really sorry my friend, but for that you should contact WordPress developers.

  5. Malta accountant

    29. Jul, 2009

    wow, very nice and incredible post about WordPress.
    i visited many blogs but couldn’t find such valuable info. i will definetly add this to my blogroll.

  6. Nice site!

  7. Mikkolas

    21. Mar, 2010

    Не спорю с Вами, можно и поосмысленней писать комменты.

  8. Keith Downes

    18. Apr, 2011

    Hi there, website looks awesome, this sounds perfect for me (Shadowboxer and Shadowbox Gallery Generator) I’m just wondering if if your able to share the code and this works with wordpress 3.1?

    Kind Regards
    Keith