Change Default Image HTML
I am making a WordPress theme and want to change the default image html. For example if you upload an image using WordPress uploader it generates the following html for your images
I am making a WordPress theme and want to change the default image html. For example if you upload an image using WordPress uploader it generates the following html for your images
I would like to change the markup created by from what is it as standard (dl) to a unordered-list with a difference. Below is the desired markup:
I recently wrote my first WP plugin that adds a shortcode for embedding a custom jquery image gallery into posts. It’s primarily just dumps a good chunk of HTML into the post, along with javascript necessary for initialization.
I’m working on building out a custom theme and have been struggling with this one for a bit. I am trying to modify the HTML output of the_post_thumbnail(); function. I need to do this because I am trying to support retina images on my site and would rather bake the functionality into my theme than load a plugin on the backend.