Hi monodistortion, thanks a lot for the amazing plugin. It works fine in a customers blog using a modified hybrid theme. But, in my own blog, with a mostly selfdevelopped theme it doesn’t. No errors or anything, just the google-button doesn’t open.
Please try to help me, I’ve read all topics in this forum, checked and tried anything you recommended to others, my templates are fine, even the page-ID is displayed if you click the [Translate/übersetzung]-Button >> https://strassen-030.de.
Also there is no other jquery-version inserted – as far as I can read. I de- and reactivated your plugin and others .. still can’t find the clue.
Output of ajax-translation in the source code:
<div class="translate_block" style="display: none;">
<a class="translate_translate" id="translate_button_post-741" lang="de" xml:lang="de" href="javascript:show_translate_popup('de', 'post', 741);">[übersetzung]</a><img src="https://strassen-030.de/wp-content/plugins/google-ajax-translation/transparent.gif" id="translate_loading_post-741" class="translate_loading" style="display: none;" width="16" height="16" alt="" />
</div>
Maybe it’s caused by another inline <javascript> ???
This is my index.php (home):
<?php get_header(); ?>
<div id="content">
<script type="text/javascript" src="https://www.plagaware.de/addpage.js"></script>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="entry <?php if(is_home() && $post==$posts[0] && !is_paged()) echo ' firstpost';?>">
<div class="date">
<p><span class="month"><?php the_time('M') ?></span>
<span class="day"> <?php the_time('j') ?> </span>
</p>
</div>
<h3 class="etitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<script src="https://feeds.feedburner.com/~s/Starthilfe-ProficientNetwork-Musikkultur-Berlin?i=<?php the_permalink() ?>" type="text/javascript" charset="utf-8"></script>
<div class="emeta">
<?php //the_time('F dS, Y');
echo "Kategorie: ";the_category(',');?>
</div>
<div class="ebody">
<?php the_content(__('Weiterlesen'));?>
</div>
<!-- <?php trackback_rdf(); ?> -->
<?php if (function_exists('sharethis_button')) { sharethis_button(); } ?>
</div><!-- end of entry class -->
</div><!-- end of post-ID -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, nichts gefunden zum Thema.'); ?></p>
<?php endif; ?>
<p><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?></p>
</div><!-- end of content -->
<?php get_sidebar(); ?>
<!-- end of main column -->
<?php get_footer(); ?>
Thanks a lot for your time and effort,
greetings, mathias