Change default FROM email address WordPress uses [email protected] as its default FROM email if an automated email has been fired....
Return permalink with page slug A handy snippet if you need to use a permalink url in your theme files....
List posts from same category This goes inside the loop on single.php - This lists all the posts in the...
Display page list when no menu is assigned Use this function to automatically add wp_list_pages to an empty menu location. You only need...
Add shipping costs to WooCommerce Add shipping costs to your WooCommerce shop. Save it via a custom meta field. If...
Change /author/ base url Default permalink is yoursite.com/author/username. This function changes the /author/ page to something custom. We changed...
Disable auto creating of image sizes WordPress creates by default 3 sizes for every image which is uploaded to the media...
Ignore sticky posts from the main query We use the pre_get_posts filter to modify the main query and set it to ignore...
Dynamically use parent template for child pages If you use a specific template for a parent page this function automatically uses this...
Remove image dimension attributes By default WordPress auto adds the images height and width to the img src code...