1. Martin
    Posted 2 years ago #

    I was wondering if there is a functions.php snippet I could use to disable this plugin from displaying, for certain custom post types?
    I becomes problematic with the growing number of CPTs that I need to add a custom field to exclude this display as well as some CPTs don't enable the custom fields as well.

    Any help there?


  2. Sanjeev Mohindra
    Plugin Author

    Posted 2 years ago #

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

  3. Martin
    Posted 2 years ago #

    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.

  4. Sanjeev Mohindra
    Plugin Author

    Posted 2 years ago #

    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..

  5. Sanjeev Mohindra
    Plugin Author

    Posted 2 years ago #

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

  6. Martin
    Posted 2 years ago #

    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?

  7. Martin
    Posted 1 year ago #

    hello? :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Author Box Plugin With Different Description
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.