Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wordpress login required.

Featured Replies

Hey guys,

 

Does anyone know of a plugin for wordpress that would allow me to set a specific page to be viewable only by logged in members?

 

This is for a client who deals with cannabis (legally) and doesn't want the general public/bots to be able to view the page.

 

I don't want the whole site to be login required.. just specific pages that I choose.

 

Thanks for any suggestions.

When you create a page template, and where you want the content to go, paste this:

 


<?php global $user_ID; if( $user_ID ) : ?>
<?php if( current_user_can('level_10') ) : ?>

ONLY LEVEL 10 (ADMIN) CAN SEE THIS

<?php else : ?>

OTHERS SEE THIS

<?php endif; ?>
<?php endif; ?>

 

Read about user levels here.

  • Author

Thank you so much!

 

Much appreciated.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.