Home › Forums › WoodMart support forum › Add-php-function-header Add-php-function-header This topic has 3 replies, 2 voices, and was last updated 4 years, 7 months ago by Elise Noromit. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 26, 2020 at 1:30 am #182360 vindesign_itParticipant Hi, Is there a way to add a php function string into right-box in the header, near search icon ? I would like to add a language switch. Thanks, March 26, 2020 at 9:57 am #182436 Elise NoromitMember Hello, What plugin do you use for the multilingual site? All the customization is added to the functions.php of the child theme. Best Regard March 26, 2020 at 7:13 pm #182601 vindesign_itParticipant Hi, I’m using WPML. I add the custom functions in function.php but I would call it into header builder. Thank you, Best Regards March 26, 2020 at 9:31 pm #182620 Elise NoromitMember Hello, Please refer to the WPML documentation, the language switch is always assigned to a menu. You need to create a menu. Here is the instructions on how to use the Header builder and show the menu: https://xtemos.com/docs/woodmart/header-builder/ and https://xtemos.com/docs/woodmart/header-builder/add-edit-builder-elements/ You need to create a menu in Appearance > Menu and show it by means of Secondary menu. Best Regards Author Posts Tagged: header, php Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to create new topics. Login / Register