Show category to visitors in different name or different language without changing basic category

Example Screenshot

I use WordPress blog and I post in Arabic language. My idea is,
for example, my basic category is astronomy, but I want it to be appearing to visitors in different language like الفلك, but without changing basic category itself. Because when Arabic visitors visit my site, they see box on each post inside the name of the category.

For example, when the category is astronomy, I want to see it as الفلك like this Arabic site.

It’s code is like:

<div class="entry-category">
    <a href="url/(((((([basic category]biology)))))))))" class="gridlove-cat gridlove-cat-17">((((([diffrent name]البيولوجية)))))</a>
</div>

and my site appears like:

<a href="url of site /category/(([basic category]technology))))/" class="gridlove-cat gridlove-cat-5" data-wpel-link="internal">(((([differnt name ]Technology))))</a>

Here, basic category is Technology and appears to the visitors as Technology.

But I want basic category like Technology, News etc. in another language, just like the menu bar, where the link is as the basic category name but the anchor text is different.

Read more here:: Show category to visitors in different name or different language without changing basic category

Leave a Reply

Your email address will not be published. Required fields are marked *