Likes and Share systemInstructions
Install plugin Likes and Share System
First, you need to download the plugin from the Envato market. Next, you need to go to the WordPress admin area and visit Plugins » Add New.
After that, click on the Upload Plugin button on top of the page.
This will bring you to the plugin upload page. Here you need to click on the choose file button and select the plugin file you downloaded earlier to your computer.
After you have selected the file, you need to click on the install now button.
WordPress will now upload the plugin file from your computer and install it for you. You will see a success message like this after the installation is finished.
Once installed, you need to click on the Activate Plugin link to start using the plugin.
How to prepare likes and share plugin for use?
After successful plugin installation, everything is set up for basic use by default.
All settings you can find on plugin settings page.
Settings page you can find in administration Likes and Share >> Settings.
1. Select the social share buttons which you want to show on display.
2. Select between Font Awesome or Custom images
3. Customize your share icons
If you are choose Custom images you will see settings like below on the picture
You can use our styles or you can upload your own.
If you choose Font Awesome you will see settings like on the picture below:
Choosing Font Awesome you don’t need to worry about including Font Awesome styles. Our plugin will check is Font Awesome already included and if not, Font Awesome will be automatically included.
Also, when you select the Font Awesome you can choose the color for any social share button:
4. Which post types you want to include?
5. Set position
6. Choose where you want to show social share buttons
Archive/category page will work only if on your theme is used the_excerpt() function for content.
If not please visit this link where is explained how to add our shortcode -> see here how to do that
If you select the Archive/category checkbox below will be shown options to exclude some social share buttons from archive pages.
What is the benefit of this?
Sometimes on archive pages posts or products or custom lists are shown in a grid system. So it’s not friendly to see all included share buttons.
Example on archive page:
And on single page every share buttons you select from step one, will be shown:
Working with WooComerce
If you have installed WoocOmemrce on your WordPress website, you will see WooCommerce settings options right below Settings in administration.
But, first, you have to select product post type from the Settings page
Now you can go to the WooCommerce settings page.
Sometimes depending on theme maybe some positions are not available because actions of positions are removed by theme.
So if you set up everything and you don’t see anything on a single or archive page (if you choose to show likes and social share buttons on archive page) just try another position.
On most themes, these actions are not removed and we just want you to know about possible issues.
Working with other custom post types
On archive/category page:
If you have custom template for category page, or if in your loop are not used the_excerpt() function for content, or if you have any of troubles with showing likes and social share buttons then you can use the shortcode in loop to show social share buttons and likes system. To use the shortcode all what you need is to add this code:
<?php echo do_shortcode(‘[lass_system_archive]’); ?>
on place in your loop where you want to show it.
Click to see how
On single page:
When you want to use the shortcode on single page ( is_singular() ) then then follow instructions below.
If you want to add shortcode in .php file:
<?php echo do_shortcode(‘[lass_system]’); ?>
Or if you want to add shortcode in content from administration:
This shortcode we used on our homepage on hero section.
Using the shortcode on single page ( [lass_system] ) will automatically replace default position. You can see example on this post https://likes-and-share.inchoweb.com/news/facebook-buys-mind-reading-wristband-firm-ctrl-labs/
We just put the shortcode ( [lass_system] ) into text: click to see how
Please find here more about shortcode and how to use the shortcode: How to use the shortcode?