Small advice for future template parts - Themler shortcodes inside PHP

Stagger Lee
1774 Posts
Stagger Lee posted this 11 April 2015

  • You already have own shortcodes.
  • If we could put them inside templates it would open unlimited set of new possibilities:

do_shortcode('[some-shortcode id="1"]');

  • Widgets in tabs.
  • Widgets in accordions
  • Other collapsible widgets, blocks
  • Show-hide comments list on click/hover
  • Show / hide comments text area form on click/hover
  • Etc.....Etc....

- You already have own shortcodes. - If we could put them inside templates it would open unlimited set of new possibilities: **do_shortcode('[some-shortcode id="1"]');** - Widgets in tabs. - Widgets in accordions - Other collapsible widgets, blocks - Show-hide comments list on click/hover - Show / hide comments text area form on click/hover - Etc.....Etc....

Last edited 11 April 2015 by Stagger Lee

Vote to pay developers attention to this features or issue.
2 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 13 April 2015

Hello

Thank you for your input. I've added your suggestions to our wish list.

Thank you,
Olivia

Hello Thank you for your input. I've added your suggestions to our wish list. Thank you, Olivia
Stagger Lee
1774 Posts
Stagger Lee posted this 15 April 2015

Sorry, see it now. Without id="1". It would not work this way. It needs to be shortcode global, without ID.
[some-shortcode]

or

[some-shortcode] [/some-shortcode]

Sorry, see it now. Without id="1". It would not work this way. It needs to be shortcode global, without ID. **[some-shortcode]** or **[some-shortcode] [/some-shortcode]**
You must log in or register to leave comments