I noticed recently that Google’s conversion tracking code, usually found in the footer, has a set height of 13px as an iframe. This creates an annoying white space in your sites footer. When your footer is anything but white, it creates a 13px high gap underneath your footer which looks rather out of line with … Continued
If you’re embedding videos into WordPress, possibly as a post, you may sometimes want to add parameters to the code to overwrite the oEmbed default behaviour of WordPress. This can be achieved by creating your own plugin or adding this snippet to your functions.php file. This example removes the related videos at the end of … Continued
So you may be like me and not need or want extra links in the Magento account area which don’t actually do anything. Personally, if they serve no purpose there is no point having them there. While it’s annyoning you can’t switch them off from the admin area, there are also no unique classes so … Continued
Depending on the type of products you are selling via a Woocommerce store, sometimes you don’t need the billing and shipping address details on the Woocommerce checkout page. Adding this little snippet to your functions.php file, you can deregister them from loading easily:
Here’s a little snippet which remove the orderby dropdown on product archive pages. Add this to your functions.php file:
I always recommend removing the WordPress generator from the source of your head. WordPress by default will include the current version of WordPress in the header. While this can be useful for knowing what WP version you are running compared to the current version available from WordPress.org, it can also give hackers and bots an … Continued
Depending on the type of website you run, sometimes the default widgets are useless to your purpose so rather than have them load everytime you access the widgets page, you can simply add this to your functions.php file. Obviously you can remove any from this list to keep them.