Custom "Insert into Post" Code
When end users are editing posts they insert images using the Media Library. They open up the library, select the image and click on the button labeled “Insert into Post”.
The code that is inserted takes the form:
<a href="permalink to image" rel="attachment wp-att-postID of the image"><img src="url of the image" alt="alt of the image" title="title" width="width" height="height" class="class list" /></a>
I want to customize the form of this markup text and add to it, but still allow the users to use the Media Library and the “Insert into Post” method.
What do I edit in order to accomplish this?
- The topic ‘Custom "Insert into Post" Code’ is closed to new replies.