A
A
Artem Gvozdev2018-08-05 09:40:38
WordPress
Artem Gvozdev, 2018-08-05 09:40:38

Your class in tinymce wordpress?

Hello, maybe someone knows how to add a button in the wordpress editor so that it frames the text in a certain class. It
worked like bold text
. The principle is this, they wrote a test, highlighted it, clicked on this button, it added a class with an open tag before the text, and at the end with closed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-08-05
@arty23_03

Hello!
Maybe this article will be useful for you -
https://codex.wordpress.org/TinyMCE_Custom_Buttons
Well, look at the codex for creating a shortcode. When selected, a shortcode will be added to the beginning and end, and then there will be a button on the front...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question