xbonet
Forum Replies Created
-
Ok, I understand that specification; however, when my registered string is
pll_register_string('Find out more', 'Find out more');and I try to echo it out using
pll_e('Find out more')or
echo pll__('Find out more')in all language instances, I get as a result “Find out more”… that is, it’s not echoing the translated strings I’ve specified in the Strings Translations section in WP.
In all cases I’m using, both the
stringnameand thestringcontentare the same, so even though I was initially confused between which should be used withpll_e()andpll__(), in practice the issue is still the same: these are echoing whatever I place between the('')and not actually the string content.Just to update this issue, after extensive trials I’ve found that it’s not even that the functions are echoing the name of the string, they’re actually just echoing whatever one writes in them… so if I write
pll_e('stringname')it echoes out “stringname” and if I writepll_e('flying-pink-cats')it echoes out “flying-pink-cats”… What’s going on, then?P.P.D. Perhaps I should point out that the WP posts in question do have attached images. The plugin has a code section that specifically checks for attached images. So why is it not finding any and reverting back to the Web’s og:image?