Hi @jfarthing84,
It is not possible with some custom code in functions.php to make the site private with your settings but only the homepage public?
Thanks
Sure, using the tml_enforce_private_site filter. Return false to allow access to the current page.
Thanks @@jfarthing84, so Im not a code guy. I turned on private site on your plugin.
Which code can I use to specify a specific page ID as public and accessible to everyone?
THANKS A LOT!!!!!!
function my_custom_tml_enforce_private_site_filter( $enforce ) {
if ( is_page( 'page-i-dont-want-blocked' ) ) {
return false;
}
return $enforce;
}
add_filter( 'tml_enforce_private_site', 'my_custom_tml_enforce_private_site_filter' );