How to move anything using jQuery insertBefore & insertAfter – Easy Tutorial


Hi Mike here, in this tutorial I’m going to show you how you can move any element in your WordPress theme using jQuery insertBefore & insertAfter
So let’s say you found a theme that you love, except one element is not quite where you would like it to be, let’s say it’s the page title.
You can move this yourself easily with some jQuery, jQuery is a javascript library that WordPress loads by default, think of it as a bunch of shortcodes to getting javascript done quickly and easily.
So let’s jump right into this, on this page I have the page title above the page in the title bar, but I want it below the featured image, and before the page content…


Please enter your comment!
Please enter your name here