Cookie Policy

…thods. These technologies can operate across all of your browsers. In some instances, these technologies may not be fully managed by your browser and may require management directly through your installed applications or device. We do not use these technologies for storing information to target advertising to you on or off our sites. What technologies do we use and why Our cookies, web beacons and similar technologies serve various purposes, but g…

Read More

WP Development

Add a WordPress Custom Bulk Action

…( $_REQUEST[‘exported’] ) ); echo “<div class=”updated”><p>{$message}</p></div>”; } } Which in action looks like: Demo Plugin And there you have it. Feel free to download and use as a starting point my demo plugin which has code similar to the above, but fully implemented and commented. Install like any other plugin, by uploading through the Admin, or by unzipping the plugin folder and placing in wp-content/plugins/. Activate the plugin, then go t…

Read More

Configure Magento Products by URL

…precedence that you defined when setting up the product in the admin. For instance in the above example we can configure a shirt with a given color and size, or just a color leaving the size unspecified, but we couldn’t configure just a size. A Helpful Bookmarklet It can be tedious for a technical person, and perhaps insurmountable for a lay person, to construct the configuration URLs for more than a few products. To make this process easier I cr…

Read More

Import Remote Repository with EGit on Windows

…ne Repository’ button. This will clone the remote Git Repository into, for instance C:Usersusernamegit Create the Project Create a project with the New Project wizard, and uncheck the ‘Use default location’ option, selecting the above local Git repository as the project Location. Share the Project At this point if you’re following along you should have a locally cloned Git repository, and an unrevisioned Eclipse project containing the repository f…

Read More

WP Development

WordPress Settings API Hidden Field

…s API. This is useful for more than just creating hidden input fields; for instance I used it when I wanted to render a number of checkboxes in a single field, yet still have the checkbox options managed by the Settings API. The WordPress Settings API The WordPress Settings API is a great, if poorly documented addition to WordPress. The two best references I found for understanding and building your own API-based settings are: http://ottodestruct….

Read More

SkyVerge WooCommerce Extensions

WordPress Pretty Category Permalinks Broken and Fixed

…they would consist of any categories followed by the post title. Take for instance this very URL /articles/wordpress/wordpress-pretty-category-permalinks-broken-and-fixed/, it’s pretty clear that this is a WordPress article about fixing broken category permalinks. I feel like this structure results in a very intuitive and easy to navigate site, both for search engines as well as for users. To achieve this result I configured WordPress Settings >…

Read More

WooCommerce Order Admin Calc Line Totals

…al( result.line_total ); }); We add an action to handle that AJAX request, instantiate the WC_Cart class, load it up with the current product, and tell it to calculate the totals. The totals are then returned in the AJAX response: add_action( ‘wp_ajax_woocommerce_calc_line_totals’, ‘wc_ajax_calc_line_totals’ ); public function wc_ajax_calc_line_totals() { $item_id = isset( $_POST[‘item_id’] ) ? esc_attr( $_POST[‘item_id’] ) : null; $item_variation…

Read More

WordPress development tutorials

Don’t Share Terms Between WordPress Taxonomies

…he same name and slug between different taxonomies (at least for now). For instance, if you add the term ‘red’ as a tag, and then add the category ‘red’, the same wp_terms record will be shared between them. This is also true for any custom taxonomies you define (remember that despite their seeming differences, WordPress tags and categories are both implemented as taxonomies). Now, in general this is fine; if the name and slug are the same, then j…

Read More

WooCommerce extension updates & releases

New WooCommerce Plug-in: Authorize.net Reporting

…one concept we had in mind when we wrote this extension for you. When you install and configure this extension, you’ll start receiving a daily email with your Authorize.net transactions from the previous day attached as a CSV. Sounds easy! Even better, you can login to your WooCommerce store and download a CSV of transaction details from a given date range on-demand, without ever having to login to your Authorize.net account. We’ve even pre-popul…

Read More