Files
roi-theme/wp-content/plugins/sociallocker-next-premium/panda-items/social-locker/admin/help/usage-example.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

129 lines
6.1 KiB
PHP
Executable File

<?php
global $bizpanda;
$lang = $bizpanda->options['lang'];
?>
<div class="onp-help-section">
<h2><?php _e('Quick Start Guide', 'sociallocker'); ?></h2>
<p>
<?php _e('You can pick the content you want to lock by using special shortcodes. During installation, the plugin created for you the shortcode <span class="onp-mark onp-mark-gray onp-mark-stricked onp-code">[sociallocker][/sociallocker]</span> named <strong>Social Locker</strong>.', 'sociallocker'); ?>
</p>
<p class='onp-note'>
<?php _e('<strong>Note:</strong> You can create more shortcodes at any time for whatever you need them for. For instance, you could create one for locking video players or another one for locking download links.', 'sociallocker'); ?>
</p>
<p>
<?php _e('Let\'s examine how to use the default shortcode <strong>Social Locker</strong>.', 'sociallocker'); ?>
</p>
</div>
<div class="onp-help-section">
<h2>1. <?php _e('Open the editor', 'sociallocker'); ?></h2>
<p><?php printf( __('In admin menu, select Social Locker -> <a href="%s">All Lockers</a>.', 'sociallocker'), admin_url('edit.php?post_type=opanda-item') ); ?></p>
<p><?php _e('Click on the shortcode titled "Social Locker" to open the editor:', 'sociallocker'); ?></p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/2.png' ?>' />
</p>
</div>
<div class="onp-help-section">
<h2>2. <?php _e('Configure the locker', 'sociallocker'); ?></h2>
<p>1) <?php _e('Set a clear title that attracts attention or creates a call to action (see the example below).', 'sociallocker'); ?></p>
<p>2) <?php _e('Describe what the visitor will get after they unlock the content. This is very important, as visitors need to be aware of what they are getting. And please, only promise things you can deliver.', 'sociallocker'); ?></p>
<p>3) <?php _e('Choose one of the available themes for your locker.', 'sociallocker'); ?></p>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/3.png' ?>' />
</p>
<p>
4) <?php _e('Select social buttons that will be available for visitors and configure every selected button.', 'sociallocker'); ?>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/4.png' ?>' />
</p>
<p>
<?php _e('Congratulations! The locker is ready to use.', 'sociallocker'); ?>
</p>
<p>
<?php printf( __('The page <a href="%s">Stats & Reports</a> will help you to correct your locker after collecting the first statistical data.', 'sociallocker'), admin_url( 'edit.php?post_type=opanda-item&page=stats-' . $bizpanda->pluginName ) ); ?>
</p>
<p class='onp-note'>
<?php _e('On the right sidebars, there are some additional options which can help you to adjust the locker to your site audience. Try to use them by yourself later.', 'sociallocker'); ?>
</p>
</div>
<div class="onp-help-section">
<h2>3. <?php _e('Place the locker', 'sociallocker'); ?></h2>
<p>
<?php _e('Decide what content you would like to lock. It might be:', 'sociallocker'); ?>
<ul>
<li><?php _e('A download link (for instance, a free graphic, an audio file, video resources, or a printable pdf of your article).', 'sociallocker'); ?></li>
<li><?php _e('A promo code (for instance, a 10% off discount, if the visitor shares your promo page).', 'sociallocker'); ?></li>
<li><?php _e('The end of your article (for instance, you might show the beginning of the article to gain interest, but hide the ending).', 'sociallocker'); ?></li>
</ul>
<?php _e('Basically, you can hide any content that would be important for visitors who are visiting your site.', 'sociallocker'); ?>
</p>
<p>
<?php _e('However, <strong>you should never</strong>:', 'sociallocker'); ?>
<ul>
<li>
<?php _e('Lock all of your content, posts or pages.', 'sociallocker'); ?>
</li>
<li>
<?php _e('Lock boring content or content that is not interesting.', 'sociallocker'); ?>
</li>
</ul>
</p>
<p>
<?php _e('In other words, don not try to trick your visitors. If you do, people will become annoyed and will remove the likes/tweets/+1s after unlocking your content, which will not have the desired result.', 'sociallocker'); ?>
</p>
<p>
<?php _e('Open the post editor for the post where you want to put the locker. Add a block named «Social Locker».', 'sociallocker') ?>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/4-2.png' ?>' />
</p>
<p>
<?php _e('Put content you wish to lock into the added block.', 'sociallocker') ?>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/4-3.png' ?>' />
</p>
<p>
<?php _e('If you have several lockers you can pick the concrete one by clicking on the block border.', 'sociallocker') ?>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/4-4.png' ?>' />
</p>
<p>
<?php _e('Also you can use shortcodes to call the locker by wrapping the content you wish to lock. For instance: <span class="onp-mark onp-mark-gray onp-mark-stricked onp-code">[sociallocker] Locked Content Goes Here [/sociallocker]</span>', 'sociallocker') ?>
</p>
<p>
<?php _e('That\'s it! Save your post and see it on your site! ', 'sociallocker'); ?>
</p>
<p class='onp-img'>
<img src='<?php echo 'https://cconp.s3.amazonaws.com/bizpanda/social-locker/help/' . $lang . '/6.png' ?>' />
</p>
</div>