• Resolved fersamp

    (@fersamp)


    Hi guys,
    I need to show custom attribute on my single page event with condition:
    I’m using WPML to provide to user to change language, but I need to translate event title and description.

    I know there is WMPL Events Manager Compatibility plugin to do this, but I would like to avoid to have two different event translation for every event ( one for language ) because it complicates my mobile bookings process.

    I added two custom events field, one for title and one for description, to manage the translations through backend.

    Now, I need to show event title (#ATT_TITLECustom) and description (#ATT_DESCCustom) in relation to the selected language ( that is a PHP constant “ICL_LANGUAGE_CODE”)

    Can you help me to understand how to add a filter in myfunctions.php to filter event visualization placeholder with that condition, using one or the other placeholder?

    Thank you very much for help.

Viewing 1 replies (of 1 total)
  • Hi,

    Not sure I follow what you want to do.

    Am I correct in thinking you want to create a language switching link that will let users view the same event in a different language?

Viewing 1 replies (of 1 total)

The topic ‘Custom event placeholder condition’ is closed to new replies.