If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)


Featured templates

Joomla. How to use special characters in menu titles

The following tutorial will show you how to add special characters to the Joomla menu titles.

Sometimes when you add a special character to the menu title in Joomla, it is reflected like it’s predefined code on your website

In order to resolve the issue you need to open the following file on your server:


And find the line:

$item->title = htmlspecialchars($item->title);

You need to add the following code before this line:

 $item->title = str_replace(
array('<','>','&'), $item->title);

Where the first array consists the list of the predefined character codes, the second array reflects the symbols of the predefined code.

Please, note that such symbols as ‘, " at the second array should start from backslash \ e.g.

array('<','>','&','\'','\"'), $item->title);

You may find more special symbols and their predefined codes on the following page: http://www.degraeve.com/reference/specialcharacters.php

Enjoy your updated website:

Feel free to check the detailed video tutorial below:

Joomla. How to use special characters in menu titles

  • Ian Shere

    Great just what I needed. But could you please use a bigger sized font – it’s ridiculously small.

    No votes yet.
    Please wait...
Live Chat
We help you to choose the right product.
Start chat