Hide and Catch Email

Replace the any public post types content with a form. Any visitor (who is not logged-in and/or set to a certain user role set by you on a per post basis) would have to fill out the form to see said content. Right now the form consists of a name field, email field and comment field. The form has a built in spam deterant honey-pot method.

There are two options per each post for the cotent replacement. 1) capability => defaults to ‘activate_plugins’. 2) text => defualts to empty – (the text you’d like placed before the form).

There are no furthur options or ways to view who has submitted which form beyond the email you receive. If you would like to keep a copy of all submissions per post please upgrade to the Pro version, including double spam protection and AJAX submissions.

For requests or feedback please leave comments on Hide & Catch Email.


Latest version: Download Hide and Catch Email v0.4 [[zip]] (Downloaded: 1929 times)


Where can I view submissions?

You’ll have to upgade to the Pro version to view submission on each post.

Why create this plugin?

I created this plugin to hide certain content and only reveal it when a user enters there email addresss.


Version 0.4 (12/17/14)
  • Ready for WordPress 4.1
  • Change mail to wp_mail
Version (12/3/12)
  • Removed PHP4 activation.
  • Updated dashboard.
Version 0.3.5 (11/8/11)
  • Feeds updated.
  • WordPress 3.3 check.
Version 0.3.4 (9/8/11)
  • Dashboard fix.
Version 0.3.3 (6/23/11)
  • [BUG FIX] An error in the dashboard widget is casuing some large images. Sorry. Always escape.
Version 0.3.2 (3/30/11)
  • Dashboard widget updated.
Version 0.3.1 (3/15/11)
  • Changed variable where user was getting email instead of site admin.
Version 0.3 (3/10/11)
  • Complete rewrite of plugin.
  • Setting page removed
  • Fixed header already sent by (…).
  • Removed shortcode.
  • Replaces the whole $content. Use included meta box.
  • TODO:
    ** Use AJAX replacement.
    ** Already 90% written, just needs cross browser testing.
Version 0.2.3 (2/24/11)
  • Removed javscript link causing hang-ups.
Version 0.2.2 (2/9/11)
  • Updated the feed parser to comply with deprecated rss.php and use class-simplepie.php
Version 0.2.1
  • Definitions we’re all pointing to the incorrect directories.
  • Removed unnecessary files.
  • Cleaned up option and pointed link to correct address in WordPress
Version 0.2
  • Initial Release.
Version 0.1
  • First build.


  1. Replacement form

    Replacement form

  2. Replacement form with error

    Replacement form with error

  3. Metabox


19 comments on “Hide and Catch Email

  1. How to increase the length of cookies? For the form to appear only the first time the form is submitted in the case of many posts contain the shortcode [replace] [/ replace].


    (Google translator)

  2. hey, I’ve been attempting to adjust your script to go by category instead of having to set each post to true. also to remove the comment area that shows up below. I havent been having much luck, figured i go to the expert. Any thoughts?


    ( i think is would be easy I was trying to use another function to check category and return true is so, then run that function on your $hide variable, what do you think?)

  3. hey i installed your plugin but can not seem to find the setting page link on my admin page. I have activated the plugin but how do I make it start working>>>>

  4. ok another question… when the user presses submit, where is there info sent????

  5. Hi, Austin! Superb plugin!
    Do you have the version where only some text (maybe inside tags [hide]), not the whole page is invisible until the form is completed?

  6. Suggest you use wp_mail instead of the php mail function to make this compatible with the WP SMTP plugin. I changed it and it works.

  7. Hi Austin,
    I am very excited to use your Hide and Catch plugin, as it appears to be the only one of its kind. I want to use it to restrict access to my downloads page to those who have entered an email to subscribe to my email newsletter. However, I’d like to edit the form a little bit, because I don’t need the comments area (they won’t be commenting on anything, so I think they’ll be annoyed by mandatory commenting), and for that matter I’d rather not have the name be mandatory either- I’d like to just have the email mandatory. How can I edit the comment form? I don’t have code writing experience.
    Thank you,

  8. Hi!

    I’ve installed the plugin and inserted it on a page (website above(, but when the user fills the form, the data are not sent to my e-mail. The user can see the hidden content, but the email never comes.

    Can you help me?

    (We’ve changed a little bit the form inputs and the e-mail address, but no the mail function. It hasn’t worked also if the original code)

  9. Hi,

    This plug-in is exactly what I was looking for, but where do the captured email addresses go to?

      1. No, but I certainly can do that. There is a metabox which holds the emails on that particular post_type.

Leave a Reply

Your email address will not be published. Required fields are marked *