I have a theme that has exported fields (php) so I won’t have them in the list on the backend in Custom Fields.
How can I add translations to the fields?
(titles and contents)
Thanks!!
Titles will needed to be wrapped in the WordPress i18n functions. Eg
_e('My Title', 'my-text-domain');
More info here => http://codex.wordpress.org/Translating_WordPress
As for the content, that will need to be done as it is inserted into the field.
Hi @ikosweb
To add to the above, can you please elaborate more on what you mean by titles and contents
?
Do you use a plugin for translations?
Thanks
E