[Solved] EToC with qTranslate
-
EToC works with qTranslate and it successors as mqTranslate, but language tags in the title are ignored.
To solve this, edit “extended-toc.php”. Go to line 346 (in version 0.9.5) and replace:
$toc_content .= "<p id=\"toc-np-title\">" . $this->options["heading_text"] . "</p>";
with:
$toc_content .= "<p id=\"toc-np-title\">" . __($this->options["heading_text"]) . "</p>";
That is all. Now it regognizes e.g.:
[:de]Inhalt[:en]Content
Regards, Hani
https://www.ads-software.com/plugins/extended-table-of-contents-with-nextpage-support/
- The topic ‘[Solved] EToC with qTranslate’ is closed to new replies.