- This topic has 3 replies, 2 voices, and was last updated 9 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The topic ‘Restrict "More" in categories’ is closed to new replies.
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
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
Thanks a lot, it work’s. You are great!
I’m glad it worked for you.
Thanks
Syam