Tag: jQuery

How to Properly Modify JavaScript Files in a Parent Theme

javascript wordpress

I recently needed to modify a JavaScript file in a WordPress parent theme. The script was doing almost what I wanted, but not quite, so I wanted to make minor changes. In your case, you might want to entirely override a parent theme JavaScript file in your child theme, or even deactivate a parent theme JavaScript file altogether.







How To Stop a Post Publishing (Without a Featured Image) in WordPress with jQuery

Require Featured Image JQuery WordPress

This week’s post is something new. It’s new in two ways. First, rather than being a mostly text post, I made this first as a screencast. If that’s a speed and format you like, watch away. (You’ll probably need to watch at 720p or better resolution, ideally full screen. First time recording on the new computer made me forgetful about those issues.)


A Crash Course in AJAX for WordPress

Fred and I were just talking the other day about how initially-confusing the way you do Ajax requests in WordPress was to us. Both of us, completely independently, encountered a plugin we were trying to understand, knew was using Ajax, and couldn’t for the life of us tell how. It’s just not obvious when you’re new to all the concepts involved.