How to Make WP_Query Arguments Filterable

The WP_Query class is very powerful. It lets you create your own custom queries to run anywhere in your WordPress site – in the main content, in the sidebar or anywhere else you like. It’s something I use a lot, either in custom template files or in areas outside the content such as the sidebar […] View original post at …

Unit Testing WordPress Plugins with PHPUnit

When you’re working on plugins and you start introducing new functionality, it’s good practice to ensure the existing logic isn’t broken. Without proper testing, the chances are high that simple fixes may snowball into a spaghetti coding nightmare. So in today’s article, I’ll show you how to take advantage of unit testing for your WordPress […] View original post at …

Early Results from NRKbeta’s Comment Quiz Plugin Show Readers Enjoy the Quiz but Rarely Leave a Comment

Earlier this year, NRKbeta, the Norwegian Broadcasting Corporation’s media and technology site, open sourced its comment quiz plugin for WordPress. The site’s publishers have been experimenting with requiring their readers to complete a short, three-question quiz before giving access to the comment form on certain articles. The goal of the plugin was to prevent rants and off-topic responses by ensuring …

WordPress 4.9 to Focus on Code Editing and Customization Improvements, Targeted for November 14

photo credit: Sophie Ollis WordPress core contributors have set a tentative schedule for the upcoming 4.9 release, which will be co-led by Mel Choyce and Weston Ruter. The development cycle kicked off in early August with Beta 1 scheduled for early October and the official release targeted for November 14. Choyce published a list of goals today that outlines what …