Home › Forums › Support › Alternative for a header in a (WPML) bilingual woocommerce site. This topic has 7 replies, 2 voices, and was last updated 6 years, 11 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts May 21, 2017 at 2:58 am #321583 rtomc Hy I’m trying using a contained table with two rows (one for logo, one for a slider) in all a bilingual woocommerce site. I can’t use a Gp-Hooks (my first and ideal option) because it does not work correctly in the second WPML language. “Blog Header Content” is not a good option because only works in “Blog Page”… Do anybody know any alternative option? Thanks RMR May 21, 2017 at 11:10 am #321750 TomLead Developer Lead Developer What about is isn’t working correctly in WPML? I believe they have functions you can add where it makes your custom text translatable? May 22, 2017 at 10:28 am #322286 rtomc Hy, It is not a translate issue. I have a shortcode slider in a GP Hook. In the main language it works normally. In the secondary language, the slider does not work. I do’nt undernstad why, and I’m lloking for altenatives. You can see it at fukurosan.com Spanish is OK, english is KO Thanks for any suggestion. Regards. RMR May 23, 2017 at 12:25 am #322670 TomLead Developer Lead Developer Hmm, that might be something you need to bring up with WPML/the slider plugin developers. Looks like an incompatibility between those two. May 23, 2017 at 6:56 am #322844 rtomc Thanks, Any alternative? Do anybody knows how to publish an slider in the header of a bilingual wmpl site without using a GP Hook? Let me know ๐ Thanks ! RMR May 23, 2017 at 8:41 am #322920 TomLead Developer Lead Developer I doubt GP Hooks is the issue, as all it does is output your content into the template. You could try doing a manual hook: add_action( 'generate_before_header_content','tu_before_header_content' ); function tu_before_header_content() { ?> Slider in here <?php } Adding PHP: https://docs.generatepress.com/article/adding-php/ May 27, 2017 at 9:23 am #324890 rtomc Hy, It was a metaslider question. I delete it and then re-installed, and it worked again. Resolved. Thanks. RMR May 27, 2017 at 11:09 am #324933 TomLead Developer Lead Developer Great to hear ๐ Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In