Read how to programmatically apply a coupon/discount code to a WooCommerce shopping cart when a certain quantity of a specific product is added to the shopping cart.
Website Development
Finally solved a Zeus web server rewrite.script issue
I normally dread the request to get rid of index.php from the url of sites hosted by Register365 on Zeus web server but this time I had some success.
Easily add debug information to your WordPress header
Using a WordPress action you can include PHP global variables in your html without having to modify any theme files.
Adding keywords to your WordPress menu
Yet another WordPress filter provided the ability to use a regular expression to add to the title parameter of the WordPress menus. Potentially good for SEO.
Enhancing Display Posts Shortcode plugin
At Sun Microsystems I enjoyed submitting build fixes to the GNOME community. And I got a nerdy thrill seeing my name in the ChangeLog files. After using the Display Posts Shortcode in the 4tec site, I submitted a patch to enhance that plugin.
How woo_pagination filter saved my hide
The Zeus web server that Register365 use on their shared hosting servers requires that index.php be in all urls. Some code doesn’t expect this – woo_pagination is in that group, but it gave me a really easy way to fix it.