Writing

Blog

Articles on WordPress development, Elementor, WooCommerce, and the web.

SVG Sprites with IE 11

We starting using Gulp Svg Sprite generator but finding that IE 11 does not show the svg sprite. We added the SVG4Everybody.js polyfill but it still wasn't…

· 1 min read

Redirect WordPress page to most recent post page

Hello to Mike, my most avid reader. Had an interesting task. They wanted a page to go to the post page of the most recent post. I thought easy, peasy, but when…

· 1 min read

wp_verify_nonce and PHPUnit testing

When testing a plugin function that is using wp_verify_nonce , we will want that wp_verify_nonce to not return false in our testing environment. (We are using…

· 3 min read

Vue.js and testing how a form will POST its data

We are thinking of using Vue.js to write some UI components. We will want to have it use REST or AJAX to send data back to WordPress, but to integrate this…

· 1 min read

Form querying and showing Child pages

This is one way I did it. Products is the parent page with a tree of child pages underneath. Limited to a depth of 2, I guess. After doing this way, realized…

· 2 min read

Gulping Wordpress themes

We use gulp as my task runner. It automates much of the development process. It will watch for changes in the theme files and do the appropriate actions to…

· 5 min read

WordPress and Responsive Images

Using custom fields to create a list of previous projects. When using get_the_post_thumbnail() , it will put in the responsive img tag that includes srcset and…

· 2 min read

Page 2 of 5 — 73 posts total