WP Tavern › Forums › Create Topic
Nicolas Hi Gregory, Thank you for your reply (very fast !!!). You are right, I realized that the page description field is a custom input from the theme… I used “{:en} english page description {:} {:fr} french page description{:}” inside but it doesn’t seem to work. Only the english part is displayed for both languages. So, I tried to force the translation in the theme html, by adding WPGlobus_Core::text_filter($page_desc); instead of $page_desc. But it doesn’t work, only the english part is displayed. Is there a good practice about this ? Thank you in advance. Nicolas
Nicolas
Hi Gregory,
Thank you for your reply (very fast !!!). You are right, I realized that the page description field is a custom input from the theme… I used “{:en} english page description {:} {:fr} french page description{:}” inside but it doesn’t seem to work. Only the english part is displayed for both languages. So, I tried to force the translation in the theme html, by adding WPGlobus_Core::text_filter($page_desc); instead of $page_desc. But it doesn’t work, only the english part is displayed. Is there a good practice about this ?
Thank you in advance.
Name *
Email *
Website:
Topic Title (Maximum Length: 80):
Forum: — No forum —AI and WordPress Articles Blocks Showcase Discussions Events Introductions Jobs and Working in WordPress Podcast Episodes Site and Block Editor
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Submit
Enter the destination URL
Or link to existing content