Okay
  Public Ticket #1410526
Permanently rename Post Types
Closed

Comments

  • digital_revolution_ started the conversation

    Dear Support Team :)

    Is there a possibility to rename the Post Types and display their new name in the urls, in search boxes, in the menu bar etc.?

    For example, my client would like to rename Tours into "Tours & Cruises" and "Accomodation" into "Hotels", as he only collaborates with hotels.

    Thank you a lot for your feedback in advance.

  •  2,057
    Theme replied

    Hello,

    the easiest way to change any text that's hardcoded in php files is to "translate" the theme from English default to English US.

    What I mean by this is to use poedit (free program: https://poedit.net/) to edit the languages/default.po file found in the theme using poedit, make changes to keywords and save the file as en_US.po. Poedit will then also auto-generate en_US.mo.

    Keep the files in the same languages folder. Finally, go to Settings > General, scroll to the bottom and change the language to English (US).

    You only need to change the keywords you need to be different, not all keywords. WordPress will then use your translated keywords instead of the original texts.

    Another way to change keywords with a plugin is by using this plugin:

    https://wordpress.org/plugins/say-what/

    Thank you

    Best regards,

    themeenergy support

  • digital_revolution_ replied

    Thank you so much for the excellent solution :-) 

    The words have been successfully changed by "translate" the theme from English default to English US using poedit.

    You can close this ticket.