Support » Everything else WordPress » Documenting shot code

  • Resolved Denny


    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.


    There are several attributes that are supported by the [promoslider] shortcode: – 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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not sure what you’re asking here – are you trying to create your own shortcode and need help understanding how attributes work, or something else?

    Hi Barry — I’m making documentation on my website using a page.

    I would like to list my short code on the page like the example but don’t want the shortcut to activate the program when I list them on the page.

    Thanks for replying


    Oh, I see.

    The only way I can think of off the top of my head would be to create a new shortcode that works in this sort of fashion:

        ...your list of shortcodes here...

    Barry thank you so much for your help, after searching Google with the correct terminology I found this website with some great information. Thank you again — Denis

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Documenting shot code’ is closed to new replies.