WordPress.org

Forums

Add date to post types rewrite (8 posts)

  1. driz
    Member
    Posted 5 years ago #

    How can I add the post date to the URL of a post type? So for example if my post type is 'events' and the event is called 'charity day' and it's on the 1st July 2010 then my permalink would be /events/2010/06/01/charity-day/

  2. driz
    Member
    Posted 5 years ago #

    Any updates? Thank you.

  3. driz
    Member
    Posted 5 years ago #

    What would the code be for the date? Something like $post_date? that I could add into the rewrite array.

  4. driz
    Member
    Posted 5 years ago #

    Updates? Thanks.

  5. driz
    Member
    Posted 5 years ago #

    Really annoying that you have keep bumping posts to get a response on these forums :/

  6. driz
    Member
    Posted 5 years ago #

    Still no replies!

  7. driz
    Member
    Posted 5 years ago #

    bump

  8. driz
    Member
    Posted 5 years ago #

    Help?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.