I’ve just made a new plugin available (on github) that I’ve been working on to allow you to add and manage job listings on your WP site. It’s name;
WP Job Manager. Features
One of the shortcode options for job display
Allows admin to create job listings
Frontend submission form supporting guests and registered users
Jobs can be set to expire after X days
Ajaxified job listing shortcode with search, filters and pagination
Widgets for showing jobs in your sidebar
Jobs can be ‘applied’ for via a munged email address or a given URL (revealed on click)
(should) work with any theme given some style love
Manage jobs from admin, including approving jobs if required
Employer dashboard for marking jobs filled or ending listings early
RSS feeds for the currently viewed search
Read on for a more in-depth look at what this baby can do.
Continue reading →
A few months back I announced that the
Download Monitor plugin was no longer being maintained. Why? Several reasons really:
Dealing with daily
support emails caused a massive headache Some of the code was
embarrassing, and the plugin badly needed a rewrite.. ..but due to
legacy this would have been messy and difficult The donation model didn’t really work, and .org would’t allow ads inside the plugin to fund development
However, despite all of this, given the popularity of the plugin I decided to secretly start building a new version
without the restraints of legacy code dictating the way forward…
Continue reading →
When adding top level menu pages to WordPress admin (using
add_menu_page) more often or not you’ll end up conflicting with other plugins. When two plugins share the same menu position, one is not shown:
WARNING: if 2 menu items use the same position attribute, one of the items may be overwritten so that only one item displays!
Since there are a limited number of integer positions in the menu this could be a problem, however, handily WordPress actually supports decimal positions. In this example I’m using ’55.5′ instead of 55. This should reduce the risk of conflict significantly:
1 $main_page = add_menu_page(__('WooCommerce', 'woocommerce'), __('WooCommerce', 'woocommerce'), 'manage_woocommerce', 'woocommerce' , 'woocommerce_settings_page', null, '55.5' );
Note that the codex and the source state that integers should be used, even though the decimals do work. Kudos to
Gary Jones for pointing this trick out.
WP_DEBUG_LOG is something I’ve only recently discovered — when added to
wp-config.php it enables a log of WordPress errors and notices to be saved to
1 define( WP_DEBUG_LOG, true );
This is very handy when debugging plugin errors, especially hidden ones like those which occur on plugin activation.
Someone requested a way to print out a list of their processing orders for WooCommerce so I came up with a snippet to do so
The code below can be added as a page template in your theme. Once added to your template, just create a page in WordPress admin and assign it the “Print processing orders” page template.
Theres a check at the top of the page to only let admin users in, and when viewed the page will give you a nice list of processing orders which you can then print out.
View the code on