The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Read and Understood
[resolved] Does this work with Custom Post Types? (3 posts)

  1. Christine
    Posted 2 years ago #

    Hi there

    This looks like a great plugin.
    Just a quick question- could you tell me if this works with custom post types please?



  2. petermantos
    Plugin Author

    Posted 2 years ago #


    No, it does not.

    At the heart of RNU, there is a function called append_post_notification
    and there is a line in there that says "if($post->post_type == 'post') {"

    The intent is so that the Read-and-understood button doesn't show up on "regular" pages of the web site.

    The post types are:
    Post (Post Type: 'post')
    Page (Post Type: 'page')
    Attachment (Post Type: 'attachment')
    Revision (Post Type: 'revision')
    Navigation menu (Post Type: 'nav_menu_item')

    I suppose that we could change the logic to be something of the nature of "is anything but (the 4 other types)".

    However, there may be people who are using the plugin who take advantage of the fact that the RnU button shows up only on posts of type 'post' and that it does NOT show up on custom post types.

    I suspect that any enhancement would want to make the post-types user-selectable.


  3. Christine
    Posted 2 years ago #

    Not a problem :-)
    Thank you for giving such a detailed answer by the way.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Read and Understood
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic