Support » Plugin: Reset Slugs » For cloned entries

  • Resolved oxygensmith

    (@oxygensmith)


    I’m currently using 3.8.1 and giving the clients the ability to clone their entries. What happens is that they clone an entry like “property-106” and it becomes “property-106-2”, then the next one becomes “property-106-2-2,” and the next “property-106-2-2-2″ and so on until it all looks pretty silly with slugs like property-106-2-2-2-2-2-2-2-2-2-2-2-2-2-2-2.”

    It would be nice if the plugin somehow took a suffix of pure numbers and truncated them somehow?

    R

    https://wordpress.org/plugins/reset-slugs/

Viewing 1 replies (of 1 total)
  • Plugin Author Timothy Wood

    (@codearachnid)

    That looks like an interesting challenge. I’d have to give some thought to that example since in theory your example of property-106 in someone’s install might be the 106th time it has been duplicated. The way this plugin works is based off your page title thus if a dup exists it will default to WordPress’ mechanisms for handling conflicting slugs.

    I have logged this in my issue tracker for the plugin to possibly address in a future release https://github.com/codearachnid/wp-reset-slug/issues/1

    Thank you for submitting an interesting challenge.

Viewing 1 replies (of 1 total)
  • The topic ‘For cloned entries’ is closed to new replies.