• Resolved Achuwoky

    (@achuwoky)


    Hi,
    I am recently having some issues with the plug in. When I make some bulk edit in custom post type “Products” (Woocommerce) or when Import Products.

    Is there any way for disable this plugin for all products?

    Also I have seen that create redirects and permalinks for others woocommerce cpts like Orders or Carts
    I will show you an example:
    PERMALINKS:
    Guest’s Cart Carts /guests-cart-141/
    REDIRECTS:
    /carts/guests-cart-141/ /guests-cart-141/ Carts Enabled 0 Never

    I would like disable for this CPTs.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @achuwoky

    Thanks for using this plugin and reporting the issues with it. Sorry to having issue you have.

    First of all, i would like to know what’s exactly the issue you are facing with Bulk Edit?

    Secondly, as concerned about the “woocommerce cpts like Orders or Carts”. I have fixed this issue and would be available in the upcoming release.

    Also, Disabling Permalinks to be worked on the Custom Post type would be done in the upcoming version using Filter.

    Thanks,
    Sami

    Thread Starter Achuwoky

    (@achuwoky)

    Thanks Sami,

    10 products where imported with the same URL Also I had problems with Import Plugin… It seems to be solved, but if I have some issue I will let you know because I don′t know exactly where was the error in this case.

    Looking forward next release

    Thanks

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @achuwoky New version has been releases. Please refer to the version and let me know if you found any issue with it.

    For having filter, to remove the plugin on specific PostType so, here is the basic example for you if you still need to apply:

    
    function yasglobal_exclude_post_types( $post_type ) {
      if ( $post_type == 'page' ) {
        return '__true';
      }
      return '__false';
    }
    add_filter( 'permalinks_customizer_exclude_post_type', 'yasglobal_exclude_post_types');
    

    page is the PostType which you need to bypass. You can bypass any PostType default or custom.

    Thanks,
    Sami

    Thread Starter Achuwoky

    (@achuwoky)

    Hi, I have checked and applied the filter and goes great.
    Can I exclude many post types as I need?
    Thanks!! ??

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Sound great ?? Yes, you can exclude as many post type as you like to have.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable Custom Post Types’ is closed to new replies.