WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change permalink data structure?

[Resolved] Change permalink data structure?

Viewing 4 replies - 1 through 4 (of 4 total)
  • angelo_nwl
    NetWebLogic Support

    @angelo_nwl

    sorry, this might not be possible at the moment however maybe you can try something similar using this thread – http://wordpress.org/support/topic/plugin-events-manager-date-in-the-permalink?replies=11

    Plugin Author Marcus
    Participant

    @netweblogic

    you can change this actually, but it’d require custom coding.

    In case you can code, the bit of code you want to make is for this filter:

    $recurring_date_format = apply_filters('em_event_save_events_format', 'Y-m-d');

    Change Y-m-d to a valid php date() format.

    Hi Marcus,

    Much helpful!

    Where abouts would I add this or edit this code? Is this code already set in a .php file somewhere?

    Thanks!

    Plugin Author Marcus
    Participant

    @netweblogic

    that’s the filter itself, you’d need to create php code to hook into that filter

    e.g.

    function my_em_filter(){
      return 'jS-F';
    }
    add_filter('em_event_save_events_format','my_em_filter');

    haven’t tested this , but it should do what you are asking for.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Change permalink data structure?’ is closed to new replies.