WordPress.org

Ready to get started?Download WordPress

Forums

FG Joomla to WordPress
[resolved] FG events manager hack (2 posts)

  1. devaldivia
    Member
    Posted 2 years ago #

    Hello Frédéric,

    Apologies, but the contact form on your site doesn't work :(
    ...
    I came across your FG evetns manager hack, and I'd like to use it for my own events manager install- unfortunately, I have no clue about php.

    I want to change the permalink structure ONLY for Recurring Events from this:

    http://mywebsite.com/events/event-name-2012-05-24/
    to this:
    http://mywebsite.com/events/event-name-24-May-2012/

    Angelo from wp-events-manager suggested I change this:
    if ( $post->post_type == 'event' ) {
    to this
    if ( $post->post_type == 'event' || $post->post_type == 'event-recurring' ) {

    However, your hack prints:
    http://mywebsite.com/events/2012/05/25/event-name-2012-05-25/

    in the changelog I see:
    "1.2: Fix the double dates in the permalink”... but it looks like the bug is still there for my install.

    Could you help me make it do what I want?

    How much :) ?

    Best,
    Bryan

    http://wordpress.org/extend/plugins/fg-joomla-to-wordpress/

  2. Kerfred
    Member
    Plugin Author

    Posted 2 years ago #

    The hack I wrote adds the date before the event name with the format year/month/day.
    When you are using recurring events, the original plugin adds the date after the event name with the format year-month-day. I don't know if it is possible to change it.
    If you just want to change the URLs of the recurring events, you don't need my hack.

    Thank you for reporting the contact form issue of my site. I have fixed it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.