qtrans_convertURL() equivalent
-
Hi,
I would like to use an alternative /equivalent for qtrans_convertURL() when building the sitemap .I have tried instead of the default code used by “Google XML Sitemaps v3 for qTranslate”:$p = qtrans_convertURL($permalink, $language, true);
to use this:
$page = get_page_by_path($permalink);
$p = qts_get_slug( $page->ID,$language);but no change(the pemalink /slug is returned in english) .
maybe I am doig something wrong with the page ID…or HELP?!
Any alternative for qtrans_convertURL($permalink, $language, true) is kindly appreciated!!!The page I need help with: [log in to see the link]
- The topic ‘qtrans_convertURL() equivalent’ is closed to new replies.