I have a WordPress site which doesn't require any login or user registration. However, I have just created a page on my website which I would like to restrict to users I have added myself. I would like each user to have their own specific credentials so I can track when/where they are logging in. For example, I want John Smith to be able to view my restricted page. So I would create a username J_Smith and a password pass4321!. Then he could login with these credentials and view the page.
I've looked at a few plugins to do this, but they only seem to restrict access to pages based on WordPress user permissions. The people I would register wouldn't have any access to the WordPress development, but would access the site via URL like everyone else who visits. Only they would be able to view this extra page as well if they have correct login credentials.
Is there a way to do this with plugins? I've looked at this plugin https://wordpress.org/plugins/restrict-user-access/ and this one https://wordpress.org/plugins/restrict-content/ with no luck.
My current WordPress theme functions.php file looks like this:
<?php /** * Envision Multipurpose Theme (2013) - ThemeForest * functions.php which does and tells WordPress to load CloudFW and the theme. * * (Ya-Settar, Ya-Gaffar, Ya-Fettâh) * @author Orkun GURSEL * <ticket: support.cloudfw.net> * <email: email@example.com> * <twitter: @orkungursel, @cloudfw> * * @package WordPress * @subpackage CloudFw * @subpackage Envision */ /** Globals */ global $cloudfw_start, $cloudfw_memory; $time = microtime(); $time = explode(" ", $time); $time = $time + $time; $cloudfw_start = $time; $cloudfw_memory = memory_get_usage(); /** Defines */ if ( !defined('TMP_PATH') ) define( 'TMP_PATH', get_template_directory() . '/' ); if ( !defined('TMP_URL') ) define( 'TMP_URL', get_template_directory_uri() ); if ( !defined('CLOUDFW_TMP_PATH') ) define( 'CLOUDFW_TMP_PATH', dirname(__FILE__) ); /** * Load & Run CloudFw */ require( TMP_PATH.'/cloudfw/cloudfw.loader.php' );