Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    Documentation is located at https://www.jsterup.com/dev/wordpress/plugins/plugin-organizer/. I’m working on a new version that allows you to disable/enable by post type. But it’s going to be a little while before I have time to finish it.

    Plugin Author Jeff Sterup

    (@foomagoo)

    So after working on the custom post type feature for a while I’ve come to the conclusion that it can’t be done. There is no way to tell based off of just a url what post type it is before wordpress is loaded. Custom post types are also usually defined in a plugin. So trying to determine what post type it is before any post types are even registered can’t be done.

    Hi Jeff,
    Awesome plugin!! I just found this thread searching around — what do you think about adding a feature where you could go back through the DB and bulk change the settings for a particular post type?
    For example, I’ve got a commenting group of plugins (shareaholic, disqus, etc) that i have turned off globally, and i’m enabling them on new blog posts. it would be cool if i could modify the DB somehow to enable them on ALL old blog posts so i don’t have to do it manually. is that in the cards, or even possible?

    Plugin Author Jeff Sterup

    (@foomagoo)

    In order for PO to know about the posts there would have to be an entry in the database for each one. This plugin executes before wordpress so it doesn’t know anything about posts, pages, or other post types. It looks in a database table for an entry with a URL that matches the URL you are accessing. If you had entries in that table for certain post types it could go back and change those entries. But any post which you haven’t specifically disabled/enabled plugins on would not have an entry in the table. This wouldn’t change any posts made in the future since they wouldn’t have an entry in the table either.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘instructions – disable on all specific cpt’ is closed to new replies.