How to load custom phrases by condition
-
Hi,
i am not familiar with php and wp that is why i asking.
Does anybody know or can easily check where the code that loading phrases from database (i see separate table for phrases: wp_wc_phrases) is placed ?
And what i should add to such places to load phrases by condition ?
More precisely – i want to show different phrases for <html lang=”en”> or lang= “ru”. I do not need beautiful general solution (might be it exist?) , it can be hardcoded like:
1. i add column in phrases table for lang=”ru”
2. load needed phrases values from appropriate column.
I need help with second step. Where and what to add. Or maybe other better solutions for that.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to load custom phrases by condition’ is closed to new replies.