Changes between Initial Version and Version 1 of Ticket #15928, comment 78
- Timestamp:
- 11/05/2014 02:10:11 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15928, comment 78
initial v1 2 2 3 3 {{{ 4 [media id=17293 classes="center whatever-custom" width=400 height=600 forcescheme=http/]4 [media id=17293 classes="center whatever-custom" width=400 height=600 protocol=http caption="A <span style='color:blue;'>blue</span> house" /] 5 5 }}} 6 6 7 7 That would output whatever it is: img, pdf, audio, whatever 8 That way the shortcode would always be the current URL scheme unless they specifically add the ' forcescheme'attribute8 That way the shortcode would always be the current URL scheme unless they specifically add the 'protocol' (https, http, relative) attribute 9 9 10 10 Obviously, not the perfect example, but you get the point. 11 12 You could also add a setting to the Media settings to choose your preferred attachment protocol if not overridden (e.g. I might choose 'relative').