Some custom mods
Some custom mods I made and maybe it can be helpful for you, also feel free to share yours
Adding addthis on content footer
As you know theres a wordpress plugin you can use to show addthis on your posts, and it looks like this
But I dont like how it looks, I wanted to move it to the footer-content, next to the fb and twitter buttons
So if you want to do it:
- Download the addthis plugin to your wordpress
- In the plugin settings, go to advance options, search for "I want to control my plugin from..." and select "addthis.com" and save
- Now click on "Sharing tools" and "Configure addthis tools" create an account on addthis.
- After you have your account, go to "Tools" and select "Sharing buttons". Customize your buttons/services and be sure you dont have selected any position option and save/update. (In the previous image I only select 1 button and the addthis cross shows by default, but you can select what services you want to show).
Open the file blt-katla\inc\template-parts\content.php search for (its like line 70)
<div class="content-footer-share"> <?php get_share_buttons(); ?> </div>
After that, paste this code:
<!-- Go to www.addthis.com/dashboard to customize your tools --> <div class="addthis_sharing_toolbox" data-url="<?php the_permalink(); ?>" data-title="<?php the_title(); ?>"</div>
The previous code will show the addthis plugin, but also will share the current link of the post and the title.
For single post I use the addthis sidebar and I hide it for the homepage