WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Events Manager] Locations CPT Conflict

[Plugin: Events Manager] Locations CPT Conflict

  • I am a theme publisher and I have provided styles for EM within my theme and have always encouraged my users to use this plugin.

    The trouble is I already have a CPT called “locations” built-into my theme, and now with the EM 5.0 release your CPT is overriding mine.

    Is there a function I can add to my themes that hooks into EM and if a user installs EM it will not activate the Locations CPT? Thanks.

    //Frankie

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus

    @netweblogic

    Actually, we have the constant EM_POST_TYPE_LOCATION which you could override before the plugin is loaded

    haven’t tested this, not really done with this intention in mind/recommendation, but in theory it should work

    Marcus,

    OK I will look into this further. I appreciate your help! Thanks.

    //Frankie

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Events Manager] Locations CPT Conflict’ is closed to new replies.