How to Create WordPress Posts in Themes/Plugins

108

User-Submitted Posts in WordPress

Recently, one of our clients needed to let visitors create WordPress posts (Or custom post types of course) from the website itself.

In this post, I’m going to walk through some of the WordPress functions I used to achieve this. We’ll go over creating the post itself, adding categories/tags, and adding metadata.

Read More »

How to Create Image Galleries in Your Theme

117

WordPress makes it straightforward to create a gallery from the images attached to a post. Just a couple of clicks and the gallery shortcode will be inserted into your post for you.

Why not make it even easier though? In this post, I will walk you through adjusting your theme to automatically insert a gallery after every post.

We’ll also limit how many images show up in the gallery (The rest can be shown on the individual image pages themselves), and exclude our post’s featured image if it has one.

Read More »

30 Pro jQuery Tips, Tricks and Strategies

139

Whether you’re a developer or a designer, a strong jQuery skillset is something you can’t afford to be without. Today, I’m going to show you 30 handy jQuery coding tricks that will help you make your scripts more robust, elegant and professional.

Getting Started

These tips and tricks all have one thing in common- they are all smashingly useful. With this stuff in your back pocket, you’ll be ready to go change the world, and even better, write jQuery like you know what you’re doing. It’s gonna be fun.

Read More »

Write Better CSS With Best Practices

219

CSS Best Practices

Everyone has a slightly different approach to CSS. That’s part of the reason it can be a nightmare to edit someone else’s code.

But there are a few good practices you can use in your CSS to make your stylesheets easier for you to read, and easier for anyone else that ends up modifying them in the future.

Read More »

A Novice Guide to WordPress Plugin Development

78

novice_guide_wordpress_plugin_devlopment

WordPress is an awesome publishing tool, and one of the best features is its flexibility to customize its core functions with plugins. The simplest definition of a plugin is:

A plugin is a snippet of code which is used to extend the functionality of WordPress.

And one of the nicest things about plugins is that the barrier to entry is extremely low. It takes very little technical knowledge to make your first plugin!

Read More »

30 WordPress Development Tutorials

89

30-wp-development-tuts

WordPress can be very simple to work with, but it can also be very complicated. The system can be used to do just about anything you like.

In this post we have collected together a range of tutorials that span from the very first things you need to know, like working with the loop, to much more complicated tricks, like setting up post thumbnails on your home page.

Read More »

How To: AJAX Post Pagination in MooTools

84

Post Pagination

Ever wanted to browse through the older post archives only to be staring at the screen for ages in frustration while the content slowly loads up? A quick fix would be to make use of AJAX to load the post archives. In this tutorial, I will show you how to do that using the ever popular JavaScript framework; MooTools on a typical 2 column WordPress theme.

The code is quite easily digestible and with a little CSS tweaking, you could get it to work for your theme.

Read More »

Page 1 of 212