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
Here is my recommendation.
1. Create a content restriction shortcode for the button based on the paid user role.
2. Within your template, add this code.
< ?php echo do_shortcode('[paid_read_more]Read More[/paid_read_more]'); ?>
Thanks a lot, it work’s. You are great!
I’m glad it worked for you.
The topic ‘Restrict "More" in categories’ is closed to new replies.