Extend the life of the Public Post Preview plugin to 10 days.
Simple logging to file for wp developers
This snippet allows you to add GTM (or other) code snippets to a site without having to guess which header/footer files are bing used by a theme.
This will print /blog/post-name instead of /post-name for posts
Auto login after register user in wordpress and redirect to a home page.
Displays a WordPress navigation menu as a simple bullet point list. Useful for automating a sitemap page or injecting into the footer. Usage: [rtpmenu name=”somemenuname”] [rtpmenu name=”somemenuname” menu_class=”acustomclassforstyling”]
Piece of code that I use regularly to unregister a WordPress post type. Just add/edit/remove the post type from lines 3, 4 and 5 and paste in your functions.php file.
Simple function developers can use in their code to write data to debug.log, instead using print_r and die to output to the screen.
Creates shortcode to use in website footer to automatically update the copyright to current year.