Adding shortcode input button to CMS editors

DouzanStudio
139 Posts
DouzanStudio posted this 09 January 2016

It would be great to have control button for shortcodes in wordpress or Joomla, like this:

WP.jpg

It would be great to have control button for shortcodes in wordpress or Joomla, like this: !WP.jpg!

Last edited 27 January 2016 by Support Team

Vote to pay developers attention to this features or issue.
15 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 14 January 2016

Hello,
thank you for your suggestion.
Lets vote for it!

Hello, thank you for your suggestion. Lets **vote** for it!
Stagger Lee
1833 Posts
Stagger Lee posted this 14 January 2016

This snippet will give you all available shortcodes in your theme and plugins (dont expect Bootstrap parts, they are not all implemented in Themler).

http://www.paulund.co.uk/add-button-tinymce-shortcodes

This snippet will give you all available shortcodes in your theme and plugins (dont expect Bootstrap parts, they are not all implemented in Themler). http://www.paulund.co.uk/add-button-tinymce-shortcodes
DouzanStudio
139 Posts
DouzanStudio posted this 14 January 2016

@Stagger Lee Thank you, Interesting but not enjoyable xD

VOTE guys, all other themes builders have this feature!

@Stagger Lee Thank you, Interesting but not enjoyable xD **VOTE** guys, all other themes builders have this feature!

Last edited 14 January 2016 by DouzanStudio

team7
18 Posts
team7 posted this 14 January 2016

Yep let's get voting!!! Makes our end themes much more useful to the end user as they won't need us to make changes on Themler etc, can easily change shortcodes and re-use parts of the design!

Yep let's get voting!!! Makes our end themes much more useful to the end user as they won't need us to make changes on Themler etc, can easily change shortcodes and re-use parts of the design!
DouzanStudio
139 Posts
DouzanStudio posted this 15 January 2016

Yep let's get voting!!! Makes our end themes much more useful to the end user as they won't need us to make changes on Themler etc, can easily change shortcodes and re-use parts of the design!

You're God damn right!!

> Yep let's get voting!!! Makes our end themes much more useful to the end user as they won't need us to make changes on Themler etc, can easily change shortcodes and re-use parts of the design! **You're God damn right!!**
Stagger Lee
1833 Posts
Stagger Lee posted this 15 January 2016

Can you name few real life cases for what you (all of you) use it ?

Can you name few real life cases for what you (all of you) use it ?
DouzanStudio
139 Posts
DouzanStudio posted this 15 January 2016

I make blogs for bloggers/writers who are familiar with only -like word office editor- and nothing more! So adding this control is a good thing for them, and to not get contacted with every post they'll publish!

I make blogs for bloggers/writers who are familiar with only -like word office editor- and nothing more! So adding this control is a good thing for them, and to not get contacted with every post they'll publish!
Stagger Lee
1833 Posts
Stagger Lee posted this 15 January 2016

I personally never gave it to Users. Cant stand idea they are medling with shortcodes in text mode. Just one character deleted and they make a mess.
I am waiting to Shortcake to make pace and to be a bit more popular.

I give them custom fields. They cannot insert anything between paragraphs, but they cannot ruin anything. Zero chance.

I personally never gave it to Users. Cant stand idea they are medling with shortcodes in text mode. Just one character deleted and they make a mess. I am waiting to Shortcake to make pace and to be a bit more popular. I give them custom fields. They cannot insert anything between paragraphs, but they cannot ruin anything. Zero chance.
DouzanStudio
139 Posts
DouzanStudio posted this 15 January 2016

It's ok for posts , there is nothing to ruin.
And yeah I think shortcake will be a piece of cake literally.

It's ok for posts , there is nothing to ruin. And yeah I think shortcake will be a piece of cake literally.
Stagger Lee
1833 Posts
Stagger Lee posted this 17 February 2016

You can use this with new Themler plugin for shortcodes. This snippet wont list all possible shortcodes, you can write own list. Just change shortcode names and select values.

add_action('media_buttons','add_sc_select',11);
function add_sc_select(){
echo '&nbsp;<select id="sc_select">
<option>Shortcode</option>
<option value="[html][/html]">[html] Themler Section 1</option>
<option value="[css][/css]">[css] Themler Section 2</option>
<option value="[javascript][/javascript]">[javascript] Themler Section 3</option>
</select>';
}
add_action('admin_head', 'button_js');
function button_js() {
echo '<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("#sc_select").change(function() {
send_to_editor(jQuery("#sc_select :selected").val());
return false;
});
});
</script>';
}

You can use this with new Themler plugin for shortcodes. This snippet wont list all possible shortcodes, you can write own list. Just change shortcode names and select values. add_action('media_buttons','add_sc_select',11); function add_sc_select(){ echo '&amp;nbsp;&lt;select id="sc_select"&gt; &lt;option&gt;Shortcode&lt;/option&gt; &lt;option value="[html][/html]"&gt;[html] Themler Section 1&lt;/option&gt; &lt;option value="[css][/css]"&gt;[css] Themler Section 2&lt;/option&gt; &lt;option value="[javascript][/javascript]"&gt;[javascript] Themler Section 3&lt;/option&gt; &lt;/select&gt;'; } add_action('admin_head', 'button_js'); function button_js() { echo '&lt;script type="text/javascript"&gt; jQuery(document).ready(function(){ jQuery("#sc_select").change(function() { send_to_editor(jQuery("#sc_select :selected").val()); return false; }); }); &lt;/script&gt;'; }
DouzanStudio
139 Posts
DouzanStudio posted this 17 February 2016

I didn't see the new plugin yet ,This moments themler have some updating issues i think , i'll try in the end of the day.

I didn't see the new plugin yet ,This moments themler have some updating issues i think , i'll try in the end of the day.

Last edited 17 February 2016 by DouzanStudio

len
140 Posts
len posted this 17 March 2016

I want to add the current year to the footer for the copyright text. In Artisteer it is [year], in Tuxedo (which I use until now for Wooc sites) it is [tux-year].
This is yet another feature we have lost going from Artisteer to Themler, despite Themler on the whole giving us a lot more. This sort of omission is very frustrating for an existing user.
Gets my vote.

I want to add the current year to the footer for the copyright text. In Artisteer it is [year], in Tuxedo (which I use until now for Wooc sites) it is [tux-year]. This is yet another feature we have lost going from Artisteer to Themler, despite Themler on the whole giving us a lot more. This sort of omission is very frustrating for an existing user. Gets my vote.
Support Team
Support Team posted this 21 March 2016

Hi len,

The [year] shortcode works just fine on my side.
Where exactly you added this shortcode? It will not not work in the text control. Please try Shortcode control (Insert tab >> More) or add it from the WP admin panel.

Thank you,
Olivia

Hi len, The `[year]` shortcode works just fine on my side. Where exactly you added this shortcode? It will not not work in the text control. Please try Shortcode control (Insert tab >> More) or add it from the WP admin panel. Thank you, Olivia
len
140 Posts
len posted this 20 April 2016

Olivia, the [year] shortcode is now working, not sue what changed.
What is "shortcake" as mentioned above?
LenW

Olivia, the [year] shortcode is now working, not sue what changed. What is "shortcake" as mentioned above? LenW
Support Team
Support Team posted this 22 April 2016

Hi,

What is "shortcake" as mentioned above?

This is WP plug-in
https://wordpress.org/plugins/shortcode-ui/

Thank you,
Olivia

Hi, > What is "shortcake" as mentioned above? This is WP plug-in https://wordpress.org/plugins/shortcode-ui/ Thank you, Olivia
You must log in or register to leave comments