WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Locations CPT Conflict (3 posts)

  1. Frankie Jarrett
    Member
    Posted 2 years ago #

    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/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    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

  3. Frankie Jarrett
    Member
    Posted 2 years ago #

    Marcus,

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

    //Frankie

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic