Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sanjeev Mohindra

    (@sanjeevmohindra)

    Are you just looking for CPT or if I provide a way to block it for selected category will also do?

    Thread Starter Martin

    (@rastarr)

    More so to disable on certain CPTs actually, Sanjeev.

    Such as disabling on all Woocommerce products, WP Deals Engine and the like. The latter hasn’t got custom fields enabled either so that’s an added thorn in my side ??

    I love your plugin for Posts. It’s just the other stuff that it looks out of place and I’d love to be able to disable your plugin on these, on a global level.

    Plugin Author Sanjeev Mohindra

    (@sanjeevmohindra)

    I have created a small function which can help you remove Author box on selected CPT’s.

    You can check the gist mentioned below:

    Remove Author Box

    You need to update the array with the selected CPT’s where you do not want to display the author box.

    This snippet does require custom fields for those CPTs. Let me know if you still face this issue after this..

    Plugin Author Sanjeev Mohindra

    (@sanjeevmohindra)

    Marking it as resolved. Let me know if you need anything more.

    Thread Starter Martin

    (@rastarr)

    Hi,
    Sorry but I have only got to trying this now.
    Reason being is I have a new Amazon Products plugin that uses WooCommerce for display etc and once the auto-products get created, the author description is getting displayed.

    I don’t know why but this snippet doesn’t work.
    I presume instead of Woocommerce above that I’m using the proper CPT of product, yes?
    Any other thoughts on why it doesn’t work?

    Thread Starter Martin

    (@rastarr)

    hello? ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Global CPT ?’ is closed to new replies.