Modality Theme Options Polylang
-
Hi!
I recently installed Modality theme for my WordPress website which has to be bilingual. For that purpose I’m using Polylang plugin and so far it works perfectly for my menus, posts and pages (thx Chouby).
The theme options which I don’t have under my Settings > Languages > Strings translation are the problem. I mean, it’s not like I don’t have any: there are only few of them (Site Title, Tagline, Date Format and Time Format).
Modality theme has a lot of options and I’m using the one called Theme Features Section. Here’s a pic: https://oi59.tinypic.com/20s8zk.jpg
Basically, I would like to add Title Text, Description Text, Feature Title, Feature Description and Feature URL to the Strings translation. I’ve read a lot of topics and found out that I have to use pll_register_string($name, $string, $group, $multiline) within functions.php file. In my Appearance > Editor I’ve found a file modality-functions.php and I assume that’s my file. My question is: where to put it (no pun itended)? It would be nice if someone could provide a fully understandable code snippet because I didn’t quite understand the usage of these functions (there aren’t any full examples on how to do this). Plus, I don’t know PHP ??
- The topic ‘Modality Theme Options Polylang’ is closed to new replies.