You are viewing a single comment's thread from:

RE: Tutorial: Add a vote button on your site using SteemConnect

in #steemconnect7 years ago

Thanks for this, I have a little more to add to it. If you are using WordPress, you can create a child theme and place this code in the template file where you want it to appear, like single.php and place it next to the post title or under it and use this instead.

<span class="sc-vote" data-author="redeauxtech" data-permlink="<?php echo basename(get_permalink()); ?>"></span>

This will dynamically create the permalink data, instead of changing this for every page or post.

Sort:  

This is very interesting...I'm going to try to put this into action. Would you be interested in giving me a hand with some finishing touches over at SteemThat.com?