Tag-Archive for » questions «

Working with [caption id=”attachment_###”

From: WordPress › Support » Working with caption id=”attachment_###” I am using MarsEdit (OSX stand-alone blogging software) to publish to my WP blog and have everything working with the exception of one issue I am just confused about. I use captions for all embedded images in my posts and love the feature. The first part of the caption code reads: caption id="attachment_###" where “###” is a seemingly random number. How is that number generated (where does it come from)? Is it necessary for posting new photos with captions? While MarsEdit lets me template how each image is inserted, I don’t know what number to put in this part of the code. I found this documentation: WordPress › Support » Working with caption id=”attachment_###” Image Settings – Titles, Descriptions, Captions, etc. You can add captions to your images by using the “Image Caption” field in the “Add an Image” or the “Edit Image” window. WordPress Heart Button When you add a caption to an image, caption shortcode is inserted into the source code. The caption is also used as the alternate text for the image by default. Here is the source code for the image above right after inserting it. caption id="attachment_945" [ ... ]