Code Snippets
The code snippets provided here are more developer focused than my how to posts.
-
How To Show All the Images Attached to the WordPress Post Using Custom Code
To achieve we are going to use the WordPress wp_get_attachment_image() function. To display all of the images and titles associated with a specific page as a list of bullets, use the following: This code generates a list of all image attachments associated with each post.
-
How to remove image sizes uploaded to WordPress media library
WordPress generates various “image sizes” for images uploaded to the media library.
-
How To Enhance Author Filtering In The Admin Posts Table
Enhanced Author Filtering: Introducing a Drop-Down List of Authors in the Admin Posts Table