get_permalink returns invalid string
-
when i use get_permalink(57); the return value is
https://www.server.com/index.php/%post_name%/57
my custom permalink is
/index.php/%post_name%/%post_id%
so it looks like the %post_id% is being resolved but %post_name% is notmay page links show as
index.php/name-of-page
- The topic ‘get_permalink returns invalid string’ is closed to new replies.