Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

gflores29 on "[Plugin: Polylang] How can i add filters in the Catch Everest Theme"

$
0
0

Hi,
sorry for my bad english.

i am using catch everest theme and i want to translate the theme options,

I tried the solutions suggested in:
http://wordpress.org/support/topic/polylang-and-simplify-theme?replies=10#post-4066620
and
http://wordpress.org/support/topic/plugin-polylang-changing-theme-options?replies=5
And I followed the instructions in the documentation:
https://polylang.wordpress.com/documentation/documentation-for-developers/the-wpml-language-configuration-file/

I was able to put the new strings in the Strings translation tab in the language settings, but i dont think this would work because the way the catch everest theme works.

$catcheverest_homepage_headline = '<div id="homepage-message" class="container"><p>';

if ( $disable_headline == "0" ) {
$catcheverest_homepage_headline .= sprintf( __( '%s', 'catcheverest' ) , $homepage_headline);
}
if ( $disable_subheadline == "0" ) {
$catcheverest_homepage_headline .= '<span>' . $hola=sprintf( __( '%s', 'catcheverest' ) , $homepage_subheadline ). '</span>';
}

$catcheverest_homepage_headline .= '</p></div>';

I think it would be a better option add some filters on the admin for the theme option but i dont have idea how do that

Someone have the same problem? is there anyone using catch everest and polylang togeter.

Thanks in advance

https://wordpress.org/plugins/polylang/


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>