Support » Plugin: Read and Understood » Does this work with Custom Post Types?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author petermantos



    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.


    Not a problem 🙂
    Thank you for giving such a detailed answer by the way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does this work with Custom Post Types?’ is closed to new replies.