Hi,
another question.
Under the article its the line "COMMENTS/0 LIKES/0 TWEETS/POSTED IN ..."
What should i do, if i would add a link for Goole+ in this line?
Thanks,
Jürgen
Hi,
another question.
Under the article its the line "COMMENTS/0 LIKES/0 TWEETS/POSTED IN ..."
What should i do, if i would add a link for Goole+ in this line?
Thanks,
Jürgen
Nobody an idea?
Hello,
Let me forward this to other support staff to help you out.
Regards,
Ismael
Thanks Ismael ..
Regards,
Jürgen
Hi Jürgen,
You'll need to insert the code in each of the format templates. They are located in includes and named format-gallery,image,link,quote,standard and video. Open one up and add the following after the Twitter link (around line 88):
echo '<span class="tweets-count minor-meta">';
echo **the google +1 code
echo '</span><span class="text-sep gplus-count-sep">/</span>';
Then add the following to your custom.css:
.Portrait-portfolio .gplus-count-sep{display:none;}
You'll need to customize the code for how you want the google + button to appear. I'm not very familiar with it off hand but the documentation is located here: https://developers.google.com/+/plugins/+1button/
You'll also need to load the google+ js file into the site. You can add it in just above the ending body tag in the footer.php:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
I've not tested this and looking at the steps I see a few spots you could definitely have some issues with. I'll try and write up a longer tutorial on the steps this week if I am able. If you have trouble, just let us know and we'll do our best to help :)
Regards,
Devin
Hi Devin,
thanks for the answer, i will change the code today and will test it.
Regards,
Jürgen
Let me know how it goes. I know the code adding bit is a bit custom to your personal taste and adding code after an "echo" can be a bit tricky.
Regards,
Devin
You must log in to post.