Attachment Shortcodes

This add-on is obsolete! Please use the Shortcode Attachments add-on instead.

Allows the superadmin to specify shortcodes containing attachment/image ID(s). This plugin can be used if you have a plugin that uses attachment IDs in its shortcodes.

Normally the post content is copied directly from parent blog to all of the children. Attachment Shortcodes will automatically modify the post with the new attachment IDs as they are copied to each child blog.

Notes

Single or double quotes as shortcode attributes?

“Double”. The plugin uses the internal WordPress shortcode finding function, which finds attributes in double quotes, like this: [shortcode attribute="12"]. If you find that your attachments are not being correctly Broadcast, and the debug dump reports that the numeric attribute is not numeric, it’s probably single quotes being a problem. Change them to double and try again.

Leave a Reply

Your email address will not be published. Required fields are marked *