WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Difference in single & recurring event permalink (6 posts)

  1. debsch
    Member
    Posted 2 years ago #

    Just wondering if there is anything I can do to make these permalinks more consistent, i.e. have the same structure.

    I make a test single event and the link is:
    /events/test-single/

    I make a test recurring event and the link is:
    /events/test-recurring-2012-02-23/

    Can I have the event (not post) date added automatically to single events as well? Yes? Yay! How?

    :)

    Thank you!!

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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    this could be done theoretically. you'd have to add a hook yourself via php.

    Yoast has a plugin that cleans the slug, I'd imagine it would be using similar principles.

  3. debsch
    Member
    Posted 2 years ago #

    Could this be made the default setup on future Events Manager versions?

    See if I have a single event..
    http://mysite.com/events/art-workshop/
    and then next week/month someone else lists another "art workshop"
    it becomes
    http://mysite.com/events/art-workshop-2/
    and so on...

    http://mysite.com/events/YEAR-MONTH-DAY/art-workshop
    or
    http://mysite.com/events/YEAR/MONTH/DAY/art-workshop might make more sense.

  4. agelonwl
    Member
    Posted 2 years ago #

    @debsch

    Probably, you can test this plugin http://wordpress.org/extend/plugins/custom-post-type-permalinks/ and give us some feedback

    Note:
    In the wp settings settings > permalinks under Permalink Setting for custom post type

    location = /%year%/%monthnum%/%day%/%post_id%/
    event = /%year%/%monthnum%/%day%/%post_id%/

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    maybe... I'd have to look into this more, as I'd expect us to be able to just add e.g. %year%/%monthnum%/%day%/%post_id% and it just work.

    Maybe it's something we have to do, but it might also be something WP can do or will (can) do in the near future.

  6. debsch
    Member
    Posted 2 years ago #

    Hi and thanks for the suggestion. I tried the plugin - it added the date to urls but just date and post id, no post title. PLUS it messed with my events home page (mysite.com/events/) - the home page pulled a different template file for some reason, not the template file I had set up. I removed the plugin and reset the permalinks and it's back to how it was. It's not a MAJOR issue, but it would be nice to have dates with single events as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic