WordPress

  • Attachment Image Snippet

    This snippet for wp_get_attachment_image_src frequently appears in my theme development to select an image by its unique ID in the WordPress media library. Handy for instances where logos, banners, or any other image frequently recurs on a website and you’d rather store that image in the media library where it can be replaced or modified…

  • Sort Archive Posts Alphabetically

    I recently worked on a documentation project that required posts to be sorted alphabetically by title. The process can be done by using pre_get_posts() and the is_archive() conditional tag. As always if you want to use this plugin on your website test it first in a safe environment to verify that it doesn’t create a…

  • Private Notes

    Private Notes

    My Private Notes plugin allows me self host my notes while hiding it from public view.