Viewing 9 replies - 1 through 9 (of 9 total)
  • I just looked at Eximius version 1.03 from here:
    https://www.ads-software.com/extend/themes/eximius

    You’ll need to change three files.

    In the index.php and the single.php file change line 6 from:

    <div class="post">
    

    to

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    

    In the page.php file change line 5 from:

    <div class="post">
    

    to

    <div class="post" id="post-<?php the_ID(); ?>">
    

    One other strange thing in this theme causes the popup to be shifted over to the right. You can fix this by changing the style.css file on line 69. Just remove that line in the #container section.

    position: relative;
    

    I haven’t seen this problem before and I can probably prevent it from happening with some JavaScript in the plugin.

    Thread Starter ExpertAdmin

    (@expertadmin)

    Thanks very much for your help my blog is now translating well, really nice plug in!

    The blog that I have posted before https://schindlwick.com/ea is distibuting its posts into my main blog https://schindlwick.com/ I am using a syndicating plug in from https://feedwordpress.radgeek.com/.

    The translation text is not being visible in the main blog, I assume its something that the feedwordpress is not distributing or should you plug in work independent on syndication or not?

    Hmm, so you have four completely separate blogs that look the same and a fifth blog that gets the RSS feeds from the other four? I’m sure there’s an easier way to do the same thing with categories. That sounds like a lot of work.

    Have you done any php editing? This page has more information about displaying categories differently.
    https://codex.www.ads-software.com/Category_Templates

    I’ll look at your page again and see if I can figure it out.

    Thread Starter ExpertAdmin

    (@expertadmin)

    yes that’s the constuct. All 4 sub blogs are accessible from https://www.schindlwick.com but not the other way round (might change this).

    Solution is zero maintenance as categories, tags, posts all gets syndicated into the main blog as well. This means as soon as I post in one of the sub blogs it gets into the main blog within 1 hour.

    There was no need to do any php editing (besides your translation fix) its all done via “FeedWordPress” plug in.

    Would be great if you could find the root cause why the translation button does not appear.

    Thanks very much in advance for your help.

    Well, it sounds like a lot more work to me having 5 installations of WordPress instead of one. You have to upgrade WordPress 5 times, upgrade plugins 5 times, make any changes 5 times, etc.

    It looks like the edit you made on single.php in the GRC blog is missing a closing </div> for the content section. See this page:
    https://schindlwick.com/grc/?p=3

    This is from the feedwordpress.php file:

    # Syndicated items are generally received in output-ready (X)HTML and
    # should not be folded, crumpled, mutilated, or spindled by WordPress
    # formatting filters. But we don’t want to interfere with filters for
    # any locally-authored posts, either.
    #
    # What WordPress should really have is a way for upstream filters to
    # stop downstream filters from running at all. Since it doesn’t, and
    # since a downstream filter can’t access the original copy of the text
    # that is being filtered, what we will do here is (1) save a copy of the
    # original text upstream, before any other filters run, and then (2)
    # retrieve that copy downstream, after all the other filters run, *if*
    # this is a syndicated post

    add_filter(‘the_content’, ‘feedwordpress_preserve_syndicated_content’, -10000);
    add_filter(‘the_content’, ‘feedwordpress_restore_syndicated_content’, 10000);

    This bypasses all other filters that use the the_content hook, so it skips over the translation plugin.

    You can try this– in the file ajaxtranslation.php change line 274 from:

    add_filter( 'the_content', array( &$this, 'processContent' ), 50 );
    

    to:

    add_filter( 'the_content', array( &$this, 'processContent' ), 10005 );
    
    Thread Starter ExpertAdmin

    (@expertadmin)

    You are amazing, it has worked!

    Thank you so much for you help. Just need to remember this when I am upgrading your plug in. ??

    I’m also having difficulty with the plugin. I had no problem until I updated to WordPress 2.8.4. Then the translate button dissapeared. We’re using a mistylook template and the most recent google ajax translation plugin. My website is at https://joseortegaschool.org/

    Thanks for any help you can offer.

    Alex Hosmer, please start a new thread for your problem.

    It looks like the problem is being caused by the embed quicktime plugin.
    https://www.ads-software.com/extend/plugins/embed-quicktime/

    The two JavaScript files aren’t being linked correctly and the script right after them is causing a JavaScript error.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Google AJAX Translation – No translation due to theme?’ is closed to new replies.