Documenting shot code
-
I would like to add short code for documentation but don’t want the code to activate. I have seen many post showing the code in tact, then copy and paste into site.
Example:
There are several attributes that are supported by the [promoslider] shortcode:
1.id – You can assign a promotion slider its own HTML id attribute so you can easily customize the CSS for a particular instance of the slider. Example: [promoslider id=”my_id”]
2.width – Set the width of the carousel to fit your needs. By default, the width of the slider will automatically fit the space it is given. You can define the width using pixels or a percentage. Example: [promoslider width=”600px”] OR [promoslider width=”90%”]Any ideas — thank you ??
- The topic ‘Documenting shot code’ is closed to new replies.