Put this in your functions.php to do the before and after math for specific gravity readings predicting ABV (and potential ABV). Usage: [abv_calc before=”1.06″ after=”1.033″] becomes: If the after is omitted, it will do a potential calculation: [abv_calc before=”1.05″] becomes:
If you need to get redirects, or other htacccess directives, working in subdirectories under the WordPress installation, this may help.
If you need to add arbitrary or custom <li> tags before/after your WordPress navigation menu, such as calling wp_nav_menu, you can use this little bit of code.
Quick tip for those who develop in a local, or development, LAMP/XAMPP test environment. Working on WordPress can be a stinger, because of its tendency to use absolute URLs. Having tried a bunch of super quick fixes (mostly rewrites and … Continued
If are running a WordPress multiste and you run into this error: Multisite only works without the port number in the URL. You can make the following small change to wp-includes/ms-settings.php to include your custom port. Let’s use port 8080 … Continued
Wish you could use Kohana’s powerful object-relation, templating or even routes, when writing your next WordPress theme? Then check out Azuka Okuleye’s super helpful article on how to integrate Kohana 3 with WordPress.