Tuesday, 3 September 2013

How to use author id in post permalink

How to use author id in post permalink

Currently, Wordpress supports author name in the post permalink by using
%author%.
Is it possible to add the author id to the permalink?
For example, changing this:
http://www.site.com/john/my-first-post
to this:
http://www.site.com/1/my-first-post
Where '1' is the id of the author 'john'.

No comments:

Post a Comment