This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 1 voice.

Last updated by mohamedO-5 1 month ago.

Author Posts
September 21, 2019 at 9:24 am #4615691

mohamedO-5

I used the code below to make theme options translatable


<?php
add_action( 'init', function(){
   do_action( 'wpml_multilingual_options', 'listingpro_options' );
   $settings = get_option( 'listingpro_options');
} );
?>

and i think it works because i am seeing changes on the front end but at the theme options page, it keeps showing the original language options in both languages. how to solve this?

September 21, 2019 at 9:58 am #4615739

mohamedO-5

I think i am doing something wrong..don't need help right now. thank you

September 21, 2019 at 10:18 am #4615775

mohamedO-5

My issue is resolved now. Thank you!