Custom PHP Pages not working after translation
-
Hello all.
I really like Polylang plugin but there are some issues…
I’m actually using custom php pages which begin with<?php if (is_page('my-page')) { get_header(); //HTML + PHP instructions get_footer(); }; ?>I have like 5 custom pages like that.. When I activate the plugin, the slug changes for the new language example: /blog (en-US) => /blog-2 (fr-FR) which is annoying since I use is_page(); …
Any help ? Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Custom PHP Pages not working after translation’ is closed to new replies.