WordPress Code Snippets

A fresh mix of code snippets and tutorials

Auto-Height for Ajax-Loaded Content


Here is a jQuery function for automatically setting the height of Ajax-loaded content.

This snippet originally was written for my plugin, SES Pro. When fully implemented, the script determines the height of Ajax-loaded content and sets the height of the container element.

Probably too project-specific to be of much general use, but it works great and I didn’t want to delete it entirely. So it’s posted here for good measure, hopefully others can cull some some value from it. On to the next..

Show Support

Like our new Facebook Page to show support!