Support » Plugin: Events Manager » created a custom slug function

  • Resolved scharc

    (@scharc)


    maybe it will help someone:

    http://pastebin.com/J5bVChfa

    it changes the slug / name of an event to something different…

    at the moment it does this:

    instead of just having the name and a counter for the slug it appends the location and the date to the slug

    my-custom-event-12 -> location-slug -y-m-d- post-title

    its not perfect… and if you change the location, you have to update the post twice due to the new location isnt stored in the mySQL but the slug is genereted from mySQL fields

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘created a custom slug function’ is closed to new replies.