WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart

Tagged: hidden content, login form

  • This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago by Syam Mohan.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 3, 2016 at 8:04 pm #23567
    Elisa Cucco
    Spectator

    Hi, I purchased your plugin Pro version but cannot figure out how to achieve this thing.
    If I use “Posts/Pages Extended Permissions” to make a page not readable by specific roles, if I am not logged in or not in the right role, the page completely disappear from website (404 not found) and from nav menu.
    But I need these pages to be visible, and only their content to be hidden. More better, if content was replaced by a login form.
    Some other plugins out there do this, but it seems not possible with yours.
    Can you help me?

    Thanks

    February 3, 2016 at 10:25 pm #23577
    Syam Mohan
    Keymaster

    Hi Elisa,

    If you use Extended Permissions for this functionality, you will result into 404, which is expected.

    What you need is to replace/swap the content based on the roles, not hide the page. Use Content Restriction Shortcodes instead of Extended Permissions.

    Content Restriction Shortcodes

    Thanks

    Syam

    February 3, 2016 at 10:49 pm #23579
    Elisa Cucco
    Spectator

    Hi Syam, thank you for your answer.
    Yes, I managed to use shortcodes but many people have edit access to these pages and it’s really risky. If they accidentally delete the shortcodes, the content will be visible… there are some very private informations, so it’s not a good idea.
    No way to redirect to wp-login or custom page instead?

    February 3, 2016 at 10:53 pm #23581
    Syam Mohan
    Keymaster

    Sorry, not at this moment.

    Thanks

    Syam

    February 3, 2016 at 10:56 pm #23587
    Elisa Cucco
    Spectator

    I am experienced with PHP and WordPress, is there a way to identify blocked pages? I can do a custom redirect on 404 page maybe…?

    February 3, 2016 at 10:59 pm #23590
    Syam Mohan
    Keymaster

    I’ll take a look.

    Thanks

    February 17, 2016 at 12:55 pm #24660
    Syam Mohan
    Keymaster
    This reply has been marked as private.
  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Show custom content or login form when user has no read capacity’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions