Latest posts

Apr 212020

How to send AJAX request from WordPress theme

ajaxjavascriptPocketwordpress Links

AJAX makes easier to perform operations without submitting the form like – fetch, insert, delete records from MySQL database, file uploading, etc. Using AJAX in WordPress is a little different. Here, need to consider two...

Read More
Apr 102020

Creating Scheduled Push Notifications

htmljavascriptnotificationsPocket Links

Registering a Service Worker Adding and removing scheduled push notifications Enhancing push notifications with action buttons Handling push notifications in the Service Worker Source

Read More
Mar 202020

A Few Background Patterns Sites

cssPocket Links

If I need a quick background pattern to spruce something up, I often think of the CSS3 Patterns Gallery. Some of those are pretty intense but remember Source

Read More
Mar 72020

What to Use Instead of Number Inputs

formsfrontendPocket Links

You might reach for

Read More
Mar 12020

A Follow-Up to PHP Templating

Pocketwordpress Links

Chris Geelhoed took a different approach than I did, passing data to a functio then using a require statement for a template file that expects global variables you set right before the require. If you’re into the idea...

Read More
Feb 292020

How to Customize the WooCommerce Cart Page on a WordPress Site

Pocketwoocommercewordpress Links

We’re adopting a two-column layout instead of the single full-width layout of the default template. This allows us to bring the “Cart totals” element up top so it is more visible on larger screens. Source

Read More
Feb 162020

While You Weren’t Looking, CSS Gradients Got Better

cssPocket Links

linear-gradient(90deg, #5461c8 12.5% /* 1*12.5% */, #c724b1 0, #c724b1 25% /* 2*12.5% */, #e4002b 0, #e4002b 37.5% /* 3*12.5% */, #ff6900 0, #ff6900 50% /* 4*12.5% */, #f6be00 0, #f6be00 62.5% /* 5*12.5% */, #97d700 0,...

Read More
Jan 202020

10+ Great Gutenberg Add-Ons to Bring Additional Blocks and More Functionality in WordPress

Pocketwordpress Links

Since the release of WordPress 5.0 “Bebo” in December 2018, WordPress has a new default content editor named Gutenberg. Unlike the previous default Classic editor, titled WYSIWYG (“what you see is what you get”),...

Read More
Dec 282019

How to Properly Add jQuery Scripts to WordPress

javascriptjqueryPocketwordpress Links

Despite the fact WordPress has been around for a while, and the method of adding scripts to themes and plugins has been the same for years, there is still some confusion around how exactly you’re supposed to add scripts....

Read More
Dec 52019

Online Generator

Pocketwordpress Links

Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration options. Source

Read More