• Resolved Moondrop

    (@moondrop)


    Hello, I would like to know if it is possible to custom define the default attributes for the shortcodes.

    For example, in my layout I will consistently be using the shortcode:
    [expands title="My title" trigclass="sub" elwraptag="div" elwrapclass="expand-wrap"].

    However, ideally I would like to write the cleaner and shorter: [expands title="My title"] for I know the trigclass, elwraptag, and elwrapclass will be the same each time.

    I know I can modify the default attributes in collapse-o-matic.php, but then I would potentially need to rewrite my attributes after each plugin update.

    Apart from this one question/feature request, this is a fantastic plugin, and thanks for creating it!

    http://ww.wp.xz.cn/extend/plugins/jquery-collapse-o-matic/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Baden

    (@baden03)

    in german we say: jein. Yes and No.
    Yes, the pro version does offer this. No, the free version does not.
    Enjoy the video.

    Thread Starter Moondrop

    (@moondrop)

    Wow, swift response and a video too haha =) ! Thanks for the answer, I’ll take a look into the pro version.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set Shortcode Defaults for the Attributes’ is closed to new replies.