WPSAL (Simple Access List)

वर्णन

WPSAL (Simple Access List) is a lightweight plugin that allows WordPress site owners to control access to posts, pages and custom post types. You can restrict content to specific users or roles and redirect unauthorized visitors to any page.

Key Features

  • Restrict access to posts, pages or custom post types.
  • Assign access to individual users or roles.
  • Redirect unauthorized visitors to a page of your choice.
  • Developer-friendly with filters and hooks.

Usage

  1. Go to the Posts, Pages, or any custom post type list in the WordPress admin.
  2. Hover over a post row to reveal the WPSAL action menu. Click it.
  3. In the modal that appears, select the allowed users and/or roles.
  4. Optionally select a redirect page for unauthorized visitors.
  5. Click Save — the access restrictions are applied immediately.

Ideal for: membership sites, client portals, private blogs, or any scenario requiring flexible content access control.

Development Notes

This plugin includes minified JavaScript and CSS files.
The uncompressed source files are publicly available here:

  • SweetAlert2 v11.26.17: https://github.com/sweetalert2/sweetalert2/archive/refs/tags/v11.26.17.zip
  • TomSelect v2.4.3: https://github.com/orchidjs/tom-select/archive/refs/tags/v2.4.3.zip

Support / Documentation

  • For documentation, visit: https://wpsal.verya.xyz/.
  • For support or to report bugs, please visit the plugin page on the WordPress repository.

स्क्रीनशॉट

  • Page List (Backend)WordPress admin page list showing all pages.
  • WPSAL Modal Window – Popup for selecting access type and individual settings.
  • WPSAL Settings Page – Main plugin settings page for configuring access control.

स्थापना

  1. Upload the wpsal-simple-access-list folder to /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

नेहमी विचारले जाणारे प्रश्न

Can I restrict custom post types?

Yes! By default, posts and pages are supported.
Use the wpsal_allowed_post_types filter to extend to custom post types.

Can I redirect unauthorized users?

Yes, you can select a custom page to redirect visitors who don’t have access.

Can I restrict access to both roles and users?

Absolutely. You can assign access to specific users, roles, or both simultaneously.

Is the plugin developer-friendly?

Yes, it provides filters and hooks for extending functionality and integrating with other plugins or themes.

समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

योगदानकर्ते आणि विकसक

“WPSAL (Simple Access List)” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.

योगदानकर्ते

भाषांतर करा “WPSAL (Simple Access List)” तुमच्या भाषेत.

विकासातील आग्रह?

कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.

बदलांची यादी

1.1.0

  • New filter: wpsal_permissions_column_post_types.
  • New feature: Remove all plugin metadata (reset permissions).
  • Improved, updated and standardized CSS selectors for better admin page compatibility.
  • Refined GUI: improved layout and visual overall clarity.
  • Improved performance by optimizing various meta queries.
  • Updated SweetAlert2 and TomSelect libraries.

1.0.0

  • Initial release:
    • User and role-based access control.
    • Redirect unauthorized users.
    • Modal interface with SweetAlert2 and TomSelect.
    • Developer hooks and filters.