get_permalink() problem
-
Hi there,
it seems that get_permalink() (called from within a theme) fails to grab translations of posts and pages (polylang v1.5.2)
E.g.
ID 10 = English post
ID 11 = the associated Greek postWhile viewing a greek page,
get_permalink(10)will return the English page’s permalink.
Is this expected behaviour? I couldn’t find any related info, other than this thread where you suggest that this will work out of the box. But it doesn’t.Thanks for your time, and kudos for the great plugin!
Anastis
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘get_permalink() problem’ is closed to new replies.