Also block blog page
-
I have extended the plugin a little bit in order to block also the page where the posts appear (blog page). In this case the login-page (or start page) should be a statical page.
I simply added || is_home() in line 32:
if( is_category() || is_archive() || is_single() || is_tax() || is_tag() || is_feed() || is_comment_feed() || is_attachment() || is_search() || is_home() )
Cheers,
Dirkhttps://www.ads-software.com/plugins/very-basic-content-restriction/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Also block blog page’ is closed to new replies.