Support

Account

Home Forums General Issues How can I make ACF Multilingual

Solving

How can I make ACF Multilingual

  • Hello, could someone help me by explaning how I can make ACF fields multilingual? I am using Polylang and I am barely conversant with website customization.

    Thank you

  • You can double the fields in every language you use

    For example

    
    <?php if( pll_current_language() == 'en' ): ?>
       <?php echo get_post_meta($post->ID, 'cinema_text', true); ?>
    <?php elseif( pll_current_language() == 'gr' ): ?>
       <?php echo get_post_meta($post->ID, 'cinema_text_gr', true); ?>
    <?php endif; ?>
  • This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How can I make ACF Multilingual’ is closed to new replies.