Add quotes using shortcode
-
I would like the ability to add opening and ending quotes ‘<q></q>’ using a shortcode.
I know shortcodes cannot add curling q’s to quoted text, but all I want this shortcode to do is to wrap selected text in <q> brackets.
So, in a View Page Source DOM, text would look like…
<p><q>this would be the quoted text</q></p>
Reasons why…browsers today auto-add the curly q’s upon seeing <q>, and search engines recognize them as specific quoted text, giving them more weight than just using a class to create the affect.
As far as why creating a shortcode…I can had one simple button to TinyMCE, then I can highlight the text and click the respective button to add the <q> brackets.
The topic ‘Add quotes using shortcode’ is closed to new replies.