Pure-Essence.Net

Archive for the ‘wp hacks’ Category

WordPress.com lightbox/thickbox trick

Posted by: pureessence on: May 20, 2011

Click for an example. In your theme widget, add the socialvibe widget to your sidebar. Add the class “thickbox” in any of your links to an image. e.g. To use the gallery feature, use the same rel attribute for multiple image links. e.g. To see it in action, visit my layouts page. Credits: sensicology, thickbox.

upgraded to wordpress 2.3

Posted by: pureessence on: December 22, 2007

I’ve upgraded to wordpress 2.3 mainly to use their new sidebar widget feature. I thought it will be overly cool to not have to rewrite the sidebar.php for every theme. However, I’d like to have different sidebars for different views. Like the sidebar for my index page would look different than the sidebar for my [...]

disable wordpress smiley for a certain post/page

Posted by: pureessence on: February 2, 2006

okie, i thought someone has figured it out by now. but when i asked on the wordpress board, i got no response. so i digged around and figured a hack for it. i noticed sometimes esp. on some pages, the smiley conversion does a poor job and converts the wrong text into smilies. it really [...]

dodos threaded comments for wp 2.0

Posted by: pureessence on: January 31, 2006

as you see, i’ve reinstalled dodos threaded comments hack for wp 2.0. feel free to test it out here. i’ve released the new version here. i can not provide much support due to my busy schedule. however for the next few days, if you try it and find obvious errors in the steps, i will [...]

moving pure-essence.net

Posted by: pureessence on: January 29, 2006

moving pe is a big project. right now i’m only 30% of the way there. it was a pain moving all the database due to their sizes but i finally finished it. i’m taking my time to check out all the wonderful new features & looks that comes with wp 2.0. while browsing for potential [...]

dodos threaded comments for wp 1.5

Posted by: pureessence on: February 16, 2005

OMG what a pain! yes i’ve already upgraded my domain to wp 1.5 and i spent the past 5 hours writing how to add the threaded comments back for v1.5. it’s easy for myself to add it back; i just kept my old index.php and my old wp-comments.php. if you want to do that, DO [...]

threaded comments notification

Posted by: pureessence on: January 23, 2005

ok i guess when i wrote up my threaded comments hack, i did not include the feature where the comment author who you are replying to will get notified by email. hrm it’s just an update in your functions.php under wp-includes. here’s my code. you can replace your old wp_notify_postauthor function with it. like always. [...]

more for the ultimate comment idea

Posted by: pureessence on: January 19, 2005

in addition to the previous post, i wrote a piece of code where you can add above in your wp-comments-post.php to have it delete unapproved comments that’s ___ days old i haven’t thoroughly tested this code. if you have problems, let me know. also here’s a script you can run to get rid of blank [...]

the ultimate comment idea

Posted by: pureessence on: January 18, 2005

i really like skippy’s self comment moderation plugin. The basic idea is that if the user supplies a valid email address, and they check that email account, then the commenter is most likely not a spammer. altho not foolproof, i like it better than asking people entering a certain code. plus this way it does [...]

you like my new code button?

Posted by: pureessence on: August 17, 2004

updated – old comments are deleted because i have improved my script. so far i haven’t seen any errors. feel free to test more check out my new code button in the comments field.. it actually replaces my other “better handle <code>” hack – test it out in the comments area by click on the [...]


My most adorable Pomeranians

Categories

Archives

SocialVibe


Follow

Get every new post delivered to your Inbox.

Join 123 other followers