Facebook-button in wordpress-plugin
Permalink Browser Info Environment
Hi all,
I try to get deeper in the "handshake" between concrete5 and wordpress, but -puh- it`s not easy.
I have created a test-posting.
The plugin is well integrated in concrete5, in wordpress I have activated the Wordbooker-plugin.
If I visit the posting in wordpress (via mysite.de/wordpress/?p=13), the facebook-buttons are well integrated:
http://www.theraping.de/facebook.png...
But if I visit that post in concrete5 (http://www.theraping.de/wp/) there is no facebook-plugin at all?? How can I get these button?
Could anybody help please?
Thank you very much, Kai
I try to get deeper in the "handshake" between concrete5 and wordpress, but -puh- it`s not easy.
I have created a test-posting.
The plugin is well integrated in concrete5, in wordpress I have activated the Wordbooker-plugin.
If I visit the posting in wordpress (via mysite.de/wordpress/?p=13), the facebook-buttons are well integrated:
http://www.theraping.de/facebook.png...
But if I visit that post in concrete5 (http://www.theraping.de/wp/) there is no facebook-plugin at all?? How can I get these button?
Could anybody help please?
Thank you very much, Kai
Type: | Discussion |
---|---|
Status: | New |
Meanwhile I found a solution by myself, I will post the code a bit later (after checking it).
Nice is that code:
<table>
<tr>
<td width="100"><!-- Facebook Code -->
<script type="text/javascript">
(function(){
var fb = document.createElement("script");
fb.type = "text/javascript";
fb.async = true;
fb.src = document.location.protocol + "//connect.facebook.net/en_US/all.js#xfbml=1";
(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(fb);
})(); </script>
<fb:like layout="button_count" width="100" height="21"></fb:like>
<!-- END Facebook Code --></td>
<td width="100">
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="medium"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
(function() {
var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
})(); </script> </td>
<td width="100"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></td>
</tr></table>
It comes fromhttp://vanillaforums.org/get/socialbuttons-plugin-0.2...
<table>
<tr>
<td width="100"><!-- Facebook Code -->
<script type="text/javascript">
(function(){
var fb = document.createElement("script");
fb.type = "text/javascript";
fb.async = true;
fb.src = document.location.protocol + "//connect.facebook.net/en_US/all.js#xfbml=1";
(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(fb);
})(); </script>
<fb:like layout="button_count" width="100" height="21"></fb:like>
<!-- END Facebook Code --></td>
<td width="100">
<!-- Place this tag where you want the +1 button to render -->
<g:plusone size="medium"></g:plusone>
<!-- Place this render call where appropriate -->
<script type="text/javascript">
(function() {
var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
})(); </script> </td>
<td width="100"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script></td>
</tr></table>
It comes fromhttp://vanillaforums.org/get/socialbuttons-plugin-0.2...