Home › Forums › Support › Translation and Improved Include Page This topic has 7 replies, 3 voices, and was last updated 6 years, 10 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts June 13, 2017 at 3:24 am #332856 Thierry Hello; With GP hooks, i display a page just before the footer with this plugin : https://fr.wordpress.org/plugins/improved-include-page/ It’s simply a shortcode with the ID on page [include-page id= “123”] But with WPML my english page have an other ID, how i can “choice” on GP Hook (‘if french is this ID, is english this ID) Thx June 13, 2017 at 8:59 am #332992 TomLead Developer Lead Developer I’m not 100% sure, but WPML gave me a file to include in GP Premium which makes it 100% compatible with WPML (including Hooks). The beta is out now if you want to install it: https://docs.generatepress.com/article/beta-testing/ June 13, 2017 at 9:40 am #333008 Thierry Thank you Tom but i don’t understand how i can do this ? June 13, 2017 at 4:49 pm #333201 LeoStaff Customer Support You would add the code to Code Snippet: https://docs.generatepress.com/article/adding-php/#code-snippets Then you should be able to get the beta notification. June 14, 2017 at 12:25 am #333288 Thierry yes of course but how customize this snippet for WPML ? June 14, 2017 at 9:12 am #333505 TomLead Developer Lead Developer It includes a new wpml-config.xml file which should tell WPML which fields are translatable. This includes the hook boxes. The file was provided by WPML themselves. June 19, 2017 at 5:13 am #335677 Thierry Hello, i found the solution with https://wpml.org/forums/topic/if-conditional-for-language/ and do_shortcodes. thx for your help. June 19, 2017 at 10:05 am #335770 TomLead Developer Lead Developer Awesome 🙂 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