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
  • This topic has 3 replies, 2 voices, and was last updated 9 years, 5 months ago by Syam Mohan.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 11, 2015 at 7:45 pm #20681
    Bodo Wewer
    Participant

    Hi,

    we want to teaser the abstract of our content to guest users. Guest users can only see the list of articles (with shot text and picture). Only the paying customers see the “more” button to access the comlete article.

    How I can integrate the shortcodes in source code? Or do you have an other recommendation?

    Sourcecode in template index.php

    “><?php esc_html_e( ‘Read More’, ‘Vertex’ ); ?>

    Bye, Bodo

    December 11, 2015 at 9:33 pm #20686
    Syam Mohan
    Keymaster

    Hi Bodo,

    Here is my recommendation.

    1. Create a content restriction shortcode for the button based on the paid user role.
    https://wpfront.com/user-role-editor-pro/content-restriction-shortcodes/

    Ex: [paid_read_more]

    2. Within your template, add this code.

    
    

    Thanks

    Syam

    December 12, 2015 at 1:01 am #20696
    Bodo Wewer
    Participant

    Thanks a lot, it work’s. You are great!

    December 12, 2015 at 8:19 am #20726
    Syam Mohan
    Keymaster

    I’m glad it worked for you.

    Thanks

    Syam

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Restrict "More" in categories’ 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