WordPress.org

Support

Support » Plugins and Hacks » Google Ajax Translation Action Call

Google Ajax Translation Action Call

  • For google Ajax Translation: how could I place an action call in text that is not currently showing a translation option?

    Not very good at PHP, so would love someon to help me out a bit!

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry for the delay answering your question. I was busy moving and then away for holidays.

    I’m not sure I understand your question. This plugin adds a translation button to posts, comments, and pages. Do you have a link to your site? What do you want to translate?

    I think he wants to do is use a function call in his theme’s template pages to manually place the ‘Translate’ button. For example, with the ShareThis plugin, you can disable the add_action call add this code anywhere in the template where you want the ‘ShareThis’ button to appear:

    <?php if (function_exists('sharethis_button')) { sharethis_button(); } ?>

    At least, that’s what I was trying to figure out when I came across this thread. If you look at http://www.whatsthatbug.com, you’ll see Translate, ShareThis and Like all stacked on top of each other at the bottom of each post. But I want to use divs to put them all on one line.

    Thanks,

    Daniel

    A custom function to put the Translate button anywhere within the WordPress loop is coming in the next version. See this thread:
    http://wordpress.org/support/topic/342522?replies=9

    For your question– you should be able to do this with the next version. Let me know if you need any help with the code or css though. Thanks for the link to your site too! I like seeing interesting sites that are able to get use of this plugin.

    Excellent! I’m looking forward to the update. And thanks for the compliments on my site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Ajax Translation Action Call’ is closed to new replies.
Skip to toolbar