include.shortcode-doc-sidebar.php
4 years ago
include.view-sidebar.php
5 years ago
include.view.php
4 years ago
index.php
5 years ago
view.access-condition.php
4 years ago
view.contentbox.php
5 years ago
include.shortcode-doc-sidebar.php
14 lines
| 1 | <div class="ppress-content-restriction-shortcode-doc"> |
| 2 | <p> |
| 3 | <?php |
| 4 | printf( |
| 5 | esc_html__('To restrict contents in a post or page, we provide the below shortcode. %sLearn more%s', 'wp-user-avatar'), |
| 6 | '<a target="_blank" href="https://profilepress.net/article/wordpress-content-restriction-shortcodes/">', '</a>' |
| 7 | ); ?> |
| 8 | </p> |
| 9 | <div style="padding:5px;margin: 0 1px;background: #f0f0f1;background: rgba(0,0,0,.07);"> |
| 10 | [pp-restrict-content ...] |
| 11 | <br><?php esc_html_e('Content to restrict will go here', 'wp-user-avatar') ?><br> |
| 12 | [/pp-restrict-content] |
| 13 | </div> |
| 14 | </div> |