I have a code which automatically creates and inserts post_name into mysql for my posts. The problem comes up when i realize that if i have duplicate slugs the suffix is not added. Here is my code:
What i must add in my code to add suffix for duplicate slugs?.
- The topic ‘Help with slug suffix’ is closed to new replies.