Is there a way to add superscript or subscript in Joomla Article Title words? as Joomla cleans the tags from title area.
Thanks
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this communityIs there a way to add superscript or subscript in Joomla Article Title words? as Joomla cleans the tags from title area.
Thanks
We resolved this problem for a client once by adding something like ***
to the title, for example, if the title is "This is the 2nd article", then we will have in the title something like "This is the 2/***nd***/
article", and then, in the template displaying the article, we replace instances of /***
(in the title) to <sup>
and instances of ***/
to </sup>
.
str_replace
at the template level.
– itoctopus
Nov 3 '16 at 16:49
Another option is to place the title as a H1 into the content and not render the Joomla title in the template