background preloader

WordPress

Facebook Twitter

10 Must-Know Skills for a WordPress Plugin Developer. WordPress is the most powerful CMS framework available at the moment.

10 Must-Know Skills for a WordPress Plugin Developer

It can be used to create highly flexible and extendable websites with very little work. I believe that the Plugins and Themes structure is the main reason behind its success as a CMS. There are around 21,000 plugins available for free on the official WordPress website. I always prefer creating my own plugins whenever possible. I recommend you learn plugin development; you’ll be able to customize your site very easily and earn good money as a WordPress developer. 1. How to leverage the Theme Customizer in your own themes. Note: Everything I’m talking about here, including the code, is in beta mode.

How to leverage the Theme Customizer in your own themes

It will be subject to change. I’ll update this post after release to fix any code changes that may occur between now and then. I’m releasing this post now so that theme authors can start looking at their themes and thinking about how they might want to change the way they do options pages. Load Minimum of WordPress. A small contribution for all those using WordPress as a backend, framework or something similar.

Load Minimum of WordPress

The applications, especially in the B2B sector, becoming more and more, as do the questions. So far, I've always liked to recommended BackPress. But even a well-maintained standard is feasible, with all its advantages in the context of the philosophy of updates. WordPress reduces initializing to a minimum, if the constant SHORTINIT is set. The wp-settings.php of WordPress is the key. // Stop most of WordPress from being loaded if we just want the basics.if ( SHORTINIT ) return false; Thus, the loading process is much slimmer and files that are loaded later, must be integrated via a Plugin or Theme functions.

Activating in wp-config.php via define( 'SHORTINIT', TRUE ); is done quickly and you can start the test, but note: the globals $wp, $wp_query, $wp_the_query was set as NULL. Unleash WordPress. Learning WordPress: Most Useful Tips and Tutorials - Smashing Magazine. Here you can check out the most popular articles related to WordPress that have been published recently on Smashing Magazine.

Learning WordPress: Most Useful Tips and Tutorials - Smashing Magazine

Ten Things Every WordPress Plugin Developer Should Know Plugins are a major part of why WordPress powers millions of blogs and websites around the world. The ability to extend WordPress to meet just about any need is a powerful motivator for choosing WordPress over other alternatives. Having written several plugins myself, I’ve come to learn many (but certainly not all) of the ins-and-outs of WordPress plugin development, and this article is a culmination of the things I think every WordPress plugin developer should know. Oh, and keep in mind everything you see here is compatible with WordPress 3.0+.

Welaika/wordless. WP: Query $args. <?

WP: Query $args

Php * WordPress Query Comprehensive Reference * Compiled by luetkemj - luetkemj.com * CODEX: * Source: Improving security in Wordpress plugins using Nonces. Using a nonce (number used once) is the best way to protect your plugin against a cross-site request forgery (CSRF) hacker-attack.

Improving security in Wordpress plugins using Nonces

Nonces are used on requests (saving options in admin, Ajax requests, performing an action etc) and prevent unauthorized access by providing a secret 'key' and checking it each time the code is used. WordPress Plugin Boilerplate Code Generator. Super useful WordPress action hooks and filters. Prevent automatic image compression By default, WordPress compress jpg images when you upload them to your blog.

Super useful WordPress action hooks and filters

This is useful because it saves bandwidth and loading time, but sometimes you may prefer to have full quality images (For example, if you’re a photographer using WordPress to showcase your work). Paste the code below into your functions.php file to remove automatic compression of images. add_filter('jpeg_quality', function($arg){return 100;});

Speed up your WordPress site the right way with this ultimate guide. Give your site a boost!

Speed up your WordPress site the right way with this ultimate guide

Implement crucial optimization techniques that will improve not only your ySlow score, but your Google rank too. In this tutorial we will cover all aspects of W3 caching, ySlow, Google page speed, CSS sprites & htaccess rules, to achieve a high ySlow score like i have done on my blog. Before We Begin A quick note before we start, although this tutorial will cover everything in as much detail as is required, there will (wherever possible) be shortcuts, to save you some time.

Step 1: Install the Necessary Components. WP Google Fonts. Google's free font directory is one of the most exciting developments in web typography in a very long time.

WP Google Fonts

The amazing rise of this new font resource has made this plugin the most popular font plugin on WordPress and it shows no signs of stopping. While font plugin solutions like FontBurner.com have helped bring rich typography to WordPress themes, the selection of fonts easily available to the average blogger have been limited.

The WP Google Font plugin makes it even easier to use Google's free service to add high quality fonts to your WordPress powered site. Not only does this plugin add the necessary Google code, but it also gives you the ability to assign the Google fonts to specific CSS elements of your website from within the WordPress admin. Or if you would rather, you can target the Google fonts from your own theme's stylesheet. Right now, the Google Directory has hundreds of great fonts, and the selection is steadily growing. The Ultimate WordPress Cheatsheet [Infographic]

12 Must Have Plugins for WordPress {#Infographic} 32inShare There are many reasons webmasters should adopt WordPress as their content management system.

12 Must Have Plugins for WordPress {#Infographic}

Having access to thousands of plugins available for this platform is a pretty good reason. Plugins can enhance your site’s functionality and enhance your visitors experience on it. We have already listed plenty of search engine optimization, social media, security, cache, and other types of plugins on WP JEDI. The Buffer Button WordPress-Plugin is ready [How to] 164 Flares Filament.io 164 Flares × Update: We now have a dedicated button page for you, where you can grab the code for the button much faster and customise it right there.

Get the Buffer button here. Time Release. Tackle Plugin Compatibility Issues While Using Popular Libraries. I recently got a email from a plugin developer, with regards to him having compatibility issues with one of the plugins I had developed. It turned out that both our plugins used a popular library called PclZip for adding archiving features. Due to the compatibility issue, accessing his plugin would cause a fatal PHP error saying that the PclZip class cannot be re-declared, when both our plugins were activated. The mother of all Wordpress body tags. UPDATED– October 20, 2013: Thanks to Marty (see comments below), for convincing us to change out our method for body classes to filter the default WP body_class() function instead of creating our own. It still gives you all the advantages of our original function plus the classes you get by default.

Here’s what it does First, check to see if you are on one of the following and create a class if so: home, 404, category, search, tag.We then make a class prefixed by page_ that has the name of the page or post in it.Then we check to see if the page has a parent, if so, we create a class prefixed by parent_ and put the parent name there.Finally we make a class with the prefix template_ and put the name of the template used there. The PHP Add this stuff to your functions.php file, or just use our html5 shell and it’s built in. The HTML. Web Design WordPress Function List.

Presented by: Get Attachment Link get_attachment_link(); Returns the URI of the page for an attachment. $id Integer • Default: The current post ID, when used in The Loop. A WordPress eCommerce plugin that works. Automatic Updates For Private And Commercial Plugins. Since time immemorial, only plugins hosted in the official WordPress.org plugin directory have supported automatic updates. Now, I’ve written a PHP library that you can use to add automatic update capabilities to any plugin.

Public, private and commercial plugins alike – all can now enjoy the benefits of automatic update notifications and one-click upgrades. The custom update checker integrates closely with the upgrade system already built into WordPress, producing a seamless user experience. WordPress Self-Hosted Plugin Update API. Have a plugin that can’t be submitted to the official repository? WordPress related blogs, 110+ best. Xtreme Theme - Professional WordPress Themes.

10 WordPress Plugins That Power A-Lists Blogs. Artsy Editor. WordPress Post Formats made easy.