i'm using Polylang with PODS and different custom post types. The Wordpress search is working fine for all of the content inside the posts but what about the strings i have to replace in the template? Are they not searchable at all?
Is there any other way to make the polylang strings in templates searchable for the Wordpress search? The strings in the templates are printed with:
<?php echo pll_e('headlineX'); ?>
The search result however doesn't show anything i put in the string table of polylang.
Is there any other way to translate and make it searchable? Maybe another plugin?
Thanks for your help!
By default WordPress only searches in post_title, post_excerpt, post_content fields so to answer your question - no, your strings translated with pll__()/pll_e() are not searchable.
Your options: