Wordpress Plugin Issue - YD Recent Posts with qTranslate

Hello!

I seem to be having an issue with a Wordpress plugin I'm using called YD Recent Post (http://wordpress.org/extend/plugins/yd-recent-posts-widget/). Essentially what the plugin does is it displays your site's most recent posts with a thumbnail in a sidebar.

Now, the issue I'm having deals with another plugin I'm using called qTranslate (http://wordpress.org/extend/plugins/qtranslate/). This plugin allows me to create multilingual content on my site which can be toggled on the front-end. So when I create a post, I am given two fields for the title and the text (one for each language). You can see a screenshot below to get an idea of what I mean.

The issue that I have is that whenever I toggle from one language to the next on the front-end, the YD Recent Post widget does not toggle with the rest of the site content and remains the same language (even though the posts displayed with the widget have a French equivalent).

On the qTranslate plugin support forum, they have a small tutorial on how you can alter the code of most plugins to allow for multilanguage content. You can find the post here: http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294&sid=1bbb6e1762afd1a8fe83c2ab28e87ca8

I have looked through the code of the YD Recent Posts plugin and have tried some of the methods mentioned on the qTranslate support forum but haven't been able to figure it out.

If anyone has any suggestions, I can really use the help. Thanks!
Picture-1.png
LVL 1
AdamAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AdamAuthor Commented:
I discovered what the problem is!

Apparently, the plugin was displaying the recent posts that were pulled from my cache. So instead of flipping over the French, it would just continue to display the English that was stored in my cache.

Basically I just needed to go into the plugin code and disable the ability to store to cache.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.