• Assistance
  • API Reference
  • Sign in
  • EnglishEnglish
    • EnglishEnglish
    • FrançaisFrançais
  • Assistance
  • API Reference
  • Sign in
  • EnglishEnglish
    • EnglishEnglish
    • FrançaisFrançais
accueil/Assistance/Integration/Plugin CMS/WordPress/WP Tuto #Advanced – Set up Content Access Restrictions

WP Tuto #Advanced – Set up Content Access Restrictions

15 vues 0

The plugin “ProAbono for WordPress” helps you to protect your content.With the shortcode [PA-Access], you can add some content access restrictions.

Principle

  • Place your content between PA-Access tags:
    [PA-Access]Your Content[/PA-Access]
  • Set the attributes of this Shortcode to define the restrictions and replacement texts.
    Here is the list of attributes :
Name Required Type Description
referencefeature Yes String If a User has a subscription this feature included, he will be granted to see your protected content.

Manage Offers, Subscriptions, Features directly from the backoffice of ProAbono.

display_text_if_noregistered No Yes/No If Yes AND the user IS NOT logged, ‘text_if_noregistered’ Attribut will be displayed instead of your content.
text_if_noregistered No String …
display_text_if_noaccess No Yes/No If Yes AND the user IS logged AND the user CAN NOT access to the content, ‘text_if_noaccess’ Attribut will be displayed intead of your content.
text_if_noaccess No String …

Example

[PA-access
 referencefeature='premium-content'
 display_text_if_noaccess='yes'
 text_if_noaccess='This content is available only to paying subscribers.'
 display_text_if_noregistered='yes'
 text_if_noregistered='Please log in to see the content.']
CONTENT TO PROTECT
[/PA-access]

With this shortcode,

  • Visitors will see ‘Please log in to see the content.’ instead of your protected content.
  • Logged Users without any subscriptions with feature ‘premium-content’ will see ‘This content is available only to paying subscribers.’ instead of your protected content.
Tags:wordpresscontentcontent access restrictions

Was this helpful?

Yes  No
Related posts
  • WP Tuto #Advanced – User Data Synchronization with ProAbono
  • WP Tuto #6 – Set up Payment Success Redirections
  • WP Tuto #5 – Change Menus for Logged Users
  • WP Tuto #4 – Create a SignUp Page in your Site
  • WP Tuto #3 – Display your Offers on your Homepage
  • WP Tuto #2 – Insert the Customer Portal into your Site
WordPress
  • WP Tuto #Advanced – Set up Content Access Restrictions
  • ProAbono for WordPress
  • Set up ProAbono for WordPress
  • WP Tuto #1 – Install the ProAbono plugin
  • WP Tuto #2 – Insert the Customer Portal into your Site
  • WP Tuto #3 – Display your Offers on your Homepage
  • WP Tuto #4 – Create a SignUp Page in your Site
  • WP Tuto #5 – Change Menus for Logged Users
  • WP Tuto #6 – Set up Payment Success Redirections
  • WP Tuto #Advanced – User Data Synchronization with ProAbono
Popular Articles
  • Customer Portal Integration (1/2)
  • Invoice Model
  • Understanding ProAbono
  • Update the billing information of a customer
  • WP Tuto #3 – Display your Offers on your Homepage
Categories
  • Quick Start Guide
  • Integration
    • Zapier
    • Plugin CMS
      • WordPress
    • Events / Webhooks
    • Customer Case Study
  • Offers & Subscriptions
    • Pricing Tables
  • Hosted Pages (Customer Portal
  • Invoicing / Billing
  • Backoffice
  • Customers
  • Payment
  • Doing Business Worldwide
  • Troubleshooting
  • Email Notifications
  • Uncategorized

Ready to go
to the next level ?

Product
  • Overview
  • Charging & Invoicing
  • Online Subscription
  • Usage-based Billing
  • Payment Gateways
Documentation
  • Knowledge Base
  • Developer Zone
  • API Reference
Contact
  • Talk with an expert
  • Customer Support
  • Contact us
  • Terms of Use
  • Privacy Policy
  • ProAbono © 2015-2022 Subscription Tech SAS. Tous droits réservés.