Support » Plugins and Hacks » Sitemap generator and qtranslate

Sitemap generator and qtranslate

  • Hi,
    Cool sitemap generator.
    However when the qtranslate plugin is also installed, the sitemap generator shows the page titles with all the markup from qtranslate, for example:
    Is there a way to make it show only the page titles in the active language?
    Please advize…
    Thx Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • Found the solution on another comment/forum:

    Look for $the_title = htmlspecialchars(trim($page_data[$p]['title']));
    and change into: $the_title = htmlspecialchars(trim(__($page_data[$p]['title'])));

    And also…

    Look for $the_title = htmlspecialchars(trim($post_data[$p]['title']));
    and change into: $the_title = htmlspecialchars(trim(__($post_data[$p]['title'])));

    Great point. Thanks.

    Cool Stuff Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sitemap generator and qtranslate’ is closed to new replies.