d-media
Forum Replies Created
-
Hi,
Thanks! Just took a look at your website.
The plugin hooks onto the following:
add_filter( ‘the_content’, ‘add_post_footer_googleplusone’ );do you use the_content for showing the frontpage post ?
No problem!
Ah, a good sign, we’re on to something! 😉
Check if your footer.php includes
<?php wp_footer(); ?>
This function is needed to include to javascript.Stupid question but gonna ask it anyway, did you activate the plugin? 😉
And could you test if the problem lies in the template ?
Try switching between your current theme and the default twentyeleven (it’s should work in the last).Hi,
I looked at the page again and i noticed some things:
– The page includes the google analytics javascript twice (ga.js)
– There’s a manually inserted google button at the bottom “<g:plusone annotation=”inline”></g:plusone>” but it’s missing the javascript to activate it. I reckon you pasted the button code + js in a footer widget and the footer widget stripped the Javascript.
Maybe the plugin fails because of this. So i would try to remove it from the footer and test again.
Hi,
I’ll fix that notice in the next release (probably friday). In the meantime you can fix it yourself by changing the follow code:
function add_post_footer_googleplusone( $text ){ global $posts;into
function add_post_footer_googleplusone( $text ){ global $post;Thanks for choosing our plug-in! let’s hope we can get this fixed.
I suggest you try the following:
– Set the WP debug variabele to true in your wp-config.php and see if any notices or errors are shown– Double check for javascript errors that would prevent execution
– Deactivate the plugin and manually Generate a button for your page on http://www.google.com/webmasters/+1/button/ and place the generated code for example on your frontpage to test if it works.
If the button doesn’t show than the plugin is not the problem.– If it still doesn’t work can you send a link to the page ?
Hi,
Have you tried turning off all styling and see if the button is visible then ?
Has the problem occured since the first install or after editing your theme / adding new plugins ?Hi Benny,
Sorry for the late reply, didn’t see any email that someone posted on the plugin. Do you still have the problem after the latest release ?
You can also try to put style your own containing div to match the height you want.
Hi Dexyd,
Sorry for the late reply, didn’t see any email that someone posted on the plugin. Do you still have the problem after the latest release ?
Hi whiletrue,
Excellent work, thanks! 😉
Forum: Fixing WordPress
In reply to: clean 3.3 install – no widgets admin-bar errorFound the solution.. Had to set
ini_set(‘zend.ze1_compatibility_mode’, 0);
in the wp-config.php
this also fixes the zip unpack problem i had. It required cloning.
Forum: Fixing WordPress
In reply to: clean 3.3 install – no widgets admin-bar errorI see in the phpinfo that Mysql Client API version is 4.1.22
Whereas the database itself is mysql 5. Could this cause the above problems ?Hi,
In the plugin you use the username as text for the link below the twitter messages. For this project i need to change the text so i added an extra option in the plugin. Could you implement this in the code ?
line 172:
array( 'name' => 'link_user_text', 'label' => __( 'Text for link below tweets', 'rstw' ), 'type' => 'text' ),around line 116:
$out .= '<div class="rstw_link_user"><a href="http://twitter.com/' . $options['username'] . '" '.$link_target.'>'.$options['link_user_text'].'</a></div>';Thanks!
Hi,
Thank you very much! Just in time for the project we’re finishing 🙂