How do I add the -1 suffix at the end of every post?
-
If a new post has the same post_name as another one, WordPress automatically appends it with -2, -3 etc.
I there a way to add -1 at the end of a post if there isn’t one with the same name?
I’ve tried altering various sections of posts.php but it I’m not sure what the relevant section is (or if that’s even the right file to be looking at).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I add the -1 suffix at the end of every post?’ is closed to new replies.