WooCommerce introduced a function which makes things much more elegant and simple, and gets rid of
global $woocommerce and
$aUrl when getting page URLs.
I sometimes find inconvenient the way WordPress trims the excerpt by default, which is by number of words. The number of characters in a word varies so greatly, that trimming by number of words makes the excerpt’s length horribly inconsistent.
One of the WP Maintenance Mode users asked the support team how can the maintenance page be activated/deactivated programmatically. In case you were wondering the same thing, this is the solution:
In this tutorial I’ll show you how to add a tabbed widget just like the one here on WPCrumbs, without using a plugin. Step 1 · Register the sidebar First, register the new widget area. If you are using a pre-existent widget area, you can skip this step. To register the sidebar, add this in […]
Social media sharing buttons are a must have, especially for a blog. Sure, the first solution that comes to mind for adding such buttons is a plugin, and there are plenty of free and premium plugins to choose from. But if you are picky like us, you want both aesthetics and performance. So what do you do when […]