5

Is there a way to add superscript or subscript in Joomla Article Title words? as Joomla cleans the tags from title area.

Thanks

  • Is it only needed for a couple of articles? – saibbyweb Nov 2 '16 at 11:29
5

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>.

  • Did you use Regular Labs ReReplacer or similar? – Neil Robertson Nov 2 '16 at 23:42
  • 1
    @NeilRobertson No - we resolved by using a simple str_replace at the template level. – itoctopus Nov 3 '16 at 16:49
3

Another option is to place the title as a H1 into the content and not render the Joomla title in the template

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.