One of the many great uses for the WordPress REST API is improving your plugin or theme settings screens. Once you add custom REST API endpoints, getting saved settings via AJAX and saving it via AJAX — IE with no additional page loads — is simpler. Using the WordPress REST API instead of admin-ajax is not only more performant but also lets WordPress core do most of the heavy lifting in terms of sanitization and validation. In this article, we will walk through each of the steps to create a settings form page and process that form using the WordPress […]
The Complete Newbie Guide To WordPress Hooks
If you look at a WordPress page with any of the available developer tools, you might get the impression that it is mainly made up of HTML and CSS with some occasional JavaScript. However, what you see there is only the end product. In the background, much of any given WordPress page is actually constructed from PHP functions and database queries. These get interpreted by the browser who then spits out the page in a viewable form. While CSS works well to make superficial changes (colors, sizes, etc.), if you want to make bigger, structural alterations, you will need to […]
Best Practices for WordPress Theme Development
WordPress is slightly addictive. I always thought of it as a gateway drug into the world of web development. Maybe you started off just needing a simple website. You figured out how to install WordPress on your server, chose a theme that suited most of your needs, set up some widgets, maybe installed some plugins, and that was it for the beginning. Then came the day you really wanted something on your page but couldn’t find a plugin for it, and it wasn’t part of the theme options either. Or maybe someone told you about Firebug and showed you how to […]
How I Built a WordPress Business and Scaled It (Without Employees)
The best thing about WordPress is that it’s accessible to all. Anyone can start a WordPress business, backed by an amazingly supportive global community. The barriers to entry are low and with only 25 percent of WordPress professionals working full-time, it attracts people wanting a successful business and a flexible lifestyle. But how can you take your WordPress business to the next level? What if you don’t aspire to the traditional route of growing your company and taking on staff, an office, and everything that comes with that? This is the story of how I co-founded Barn2 Media with my […]
11 Of The Best Premium WordPress Plugins Worth Their Money
There is no denying that WordPress and the WordPress sphere are thriving. The platform has been the fastest growing CMS for several years straight and in June this year more than 2,000 people gathered for WordCamp Europe 2016 — the largest WordPress convention in history. Another sign pointing to the continuing success of WordPress is the growing number of premium plugins. Although there are more than 40,000 free WordPress plugins in the directory, a lot of people these days opt to pay for their plugin needs. So much so that the number of successful WordPress companies with six-figure revenues and beyond […]
14 Comments
Join the conversation