Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have the nostalgia theme from themeforest. I am trying to convert it to multilingual using qtranslate, which it does translate the links and the page names, but for some reason it brings me back the default content when I call the page.

On function: theme_get_content() I have the following line:

$result["html"] = do_shortcode(get_the_content());

Which returns the default content. The page is called a little bit unorthodox though in the theme:

<a href="' . ($custom_url!="" ? $custom_url : '#!/' . $post->post_name) . '" class="nostalgia-menu-item nostalgia-menu-item-' . $post->post_name . '">' . get_the_title() . '</a>';

that results in:

 query_posts("name=" . $_GET["name"] . "&post_type=page");

How do I get qtranslate to work with the $result["html"] line? Any help?

share|improve this question

closed as off-topic by Pieter Goosen, cybmeta, Johannes Pille, Mark Kaplun, birgire Nov 14 at 9:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.