Wptheming - wptheming.com - WP Theming
General Information:
Latest News:
Instagram Photos in WordPress 30 Jul 2013 | 05:22 am
It’s quite easy to backup and display all your Instagram photos in WordPress thanks to the excellent DsgnWrks Instagram Importer plugin by Justin Sternberg. I set it up with my theme Visual (free on ...
Simple Ajax Example 3 Jul 2013 | 12:42 am
This is a basic example of how to use AJAX in WordPress. It shows how to take a variable from javascript, pass it to a PHP function (altering it slightly), and then pass it back to the javascript. Th...
Check if Jetpack Modules Are Enabled 24 Apr 2013 | 04:31 am
It’s pretty easy to check if a Jetpack module is active: Here’s some popular module names you might be looking for: carousel contact-form custom-css gravatar-hovercards infinite-scroll minileve...
JetPack Infinite Scroll + Masonry 14 Apr 2013 | 11:09 pm
I added support for Jetpack Infinite Scroll on a theme of mine that uses Masonry recently. Since I couldn’t find any good code snippets or recommendations for how the callback should work I wanted to...
Lazy Loading Images 20 Mar 2013 | 08:19 am
Images are generally the heaviest assets on a webpage- so if you’re interested in fast load times for users, this is one of the best places to optimize. Lazy Load Your Images One popular technique f...
Visual Theme 6 Mar 2013 | 07:50 am
Visual is a free theme designed to showcase photography, artwork and images in a neat masonry grid layout. Standard Features Masonry layout: Regardless of the featured image height and width (or eve...
Drop Down Menu Indicator 4 Mar 2013 | 03:38 am
I think it’s important to give users a visual cue when menu items have a drop down menu. One way I’ve handled this in the past is to use the Superfish jQuery plugin, which adds a class to any list it...
TypeKit Code Snippet 2 Feb 2013 | 04:51 am
Assuming you don’t want to use the TypeKit plugin, here’s how to enqueue the scripts directly from your theme:
Featured Image Meta 27 Jan 2013 | 08:48 am
I’ve built a couple themes where I’ve needed to give users more control over how the featured image is displayed for individual posts. The obvious place to put these options are in the thumbnail metab...
Getting Started With CodeKit + CSS Preprocessors 11 Jan 2013 | 07:45 pm
I experimented with CSS preprocessing today (both LESS and SASS). I have to admit, it was much easier to set up than I thought and really intuitive to use. To get started, I just downloaded a copy of...