User Generated Content Theme

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 Image Caption

But I dont like how it looks, I wanted to move it to the footer-content, next to the fb and twitter buttons Image Caption

So if you want to do it:

  1. Download the addthis plugin to your wordpress
  2. In the plugin settings, go to advance options, search for "I want to control my plugin from..." and select "addthis.com" and save
  3. Now click on "Sharing tools" and "Configure addthis tools" create an account on addthis.
  4. 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).
  5. 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(); ?>

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

Please sign in to view comments for this topic