• Feed RSS

7 Simple Rules: WordPress Plugin Development Best Practices

"We’ve been talking a lot about “Best Practices” here on Wptuts lately. Today, we’ll cover some important best practices for creating a WordPress plugin. From security tips to namespacing tricks, follow these rules and you’ll do no wrong. Whether you’re a budding new plugin developer or a time-tested veteran, these simple rules and suggestions will make you a better developer (and the community will thank you for it!) Rule 01: Have a StrategyYes, a strategy. Try this checklist: Is my plugin just for fun/demonstration purposes or for everyday use in the real world? Am I writing it to contribute...
read more

Changing the Fonts of Your WordPress – Part 2: Theme Integration

"WordPress continually proves itself time, time, and again that it has very few limitations, and is rapidly pushing itself to being, if not the best, but certainly the most versatile CMS available. Out of the box it is certainly not perfect, but you can change it however you want. In the previous tutorial, we went over how to add fonts to your theme via a plugin. Now, we’ll integrate font options directly into the theme’s options. Again, we will be using Google Web Fonts because it’s easy, fast...
read more

Top WordPress Plugins from CodeCanyon: November Edition

"WordPress is a powerful content management system, and the vast array of plugins available certainly helps. CodeCanyon has long been a great place to find top WordPress plugins. From content and security to galleries and sliders, there’s plenty to choose from. Here’s a quick rundown of some of the most popular WordPress plugins available at CodeCanyon. 1. UberMenu UberMenu is a user-friendly, highly customizable mega menu ( or mega drop down menu ) WordPress plugin. It works out of the box...
read more

PHP for WordPress: Mastering Conditional Statements and Tags

"The conditional statements feature is an extremely useful and powerful feature in WordPress; still it remains unused in the development process. You can achieve many things by the simple and smart use of these statements. Sometimes when you need specific text or a unique image to appear on a specific page and not on any other pages in your site, by using conditional statements along with WordPress conditional tags you can achieve this easily without creating multiple pages or templates. What are Conditional Statements?PHP “If” statements are generally known as conditional statements. These statements...
read more

Load jQuery From Google CDN With Local Fallback For WordPress

"In this tutorial we are going to cover why loading jQuery from the Google CDN with a local file fallback is important, and how to set this up for WordPress. If you’re still trying to self-host your own copy of jQuery (or lots of other script libraries for that matter!), this is a great way to quickly improve your workflow. Introduction When I first took a look at HTML5 Boilerplate there was this great code snippet for loading jQuery from the Google CDN with a local file fallback. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js"></script> <script>window.jQuery...
read more

5 Cardinal Sins of WordPress Theme Development

"We talk alot on this site about tips and tricks for getting what you want out of WordPress… but today we’re going to take a step back from the technical stuff to look at some practices, bad habits, and coding faux pas that would be better left in our past. So, forgive the heavy-handed post title (haha!), we’re about talk bring up 5 surprisingly common practices that are blemishes on the platform. Two of the nicest things about working on WordPress Themes is that fact that we get to target in an incredibly flexible environment (that is, the web) and we have solid documentation to help guide...
read more

Quick Tip! 9 Handy WordPress Code Snippets (That You Really Should Know!)

"Here are some short but handy code snippets that may make your life as a WordPress developer a little easier. We’ll cover a little bit of everything, from how to automatically delete posts, how to quickly dish out a post thumbnail, to how to redirect users once they’ve logged in. Open up your text-replacement program and get ready to add a few new shortcuts! We’ll start off with a few simple one-liners. 1. Hide The Front-End Dashboard BarSince v3.1, WordPress has provided a front-end admin bar for all users. Depending on your intent, this can detract from the look of your site. To disable...
read more

20+ Tumblr Style WordPress Themes for Efortless Microblogging

"Tumblr style WordPress themes are a great way to deliver short messages and various types of media with minimal effort. They are a huge time saver, making it much easier to do photo-based posts, smoothly embed audio and video. Tumblr style WordPress themes are for those, who are looking to create a fun and lively blog without spending too much time. Casual (Free)In one package you can get all the benefits of Tumblr wrapped in the extensiveness of WordPress and Obox functionality. Tumblog functionality...
read more

WordPress Cheat Sheets: The Loop Visual Model

"This entry is part 2 of 2 in the series WordPress Cheat SheetsWith the popularity of our old WordPress cheat sheet, we’ve decided to fire up a new batch of these quick pocket guides that you guys n’ gals can download, save to your phones for a fast reference, or even print out and keep next to your desk while you’re working on customizing WordPress to do your bidding. Today’s cheat sheet: The Loop Visual Model! The Loop is easily one of the most powerful and crucial pieces of WordPress to understand,...
read more

How to Sync A Local & Remote WordPress Blog Using Version Control

"Ever wondered how you might use Version Control with WordPress? If you prefer to work on your WordPress projects locally but have to get them to sync remotely, this tutorial is for you. You have probably tried to synchronize between the two setups by manually uploading the changed files and using PHPmyAdmin to export and import your database once changed, and (very likely) broke something in the process. In this tutorial, we are going to automate the syncing process; so you can concentrate on what...
read more

Page 1 of 5812345Next