WordPress.org

Ready to get started?Download WordPress

Forums

Qtranslate Slug
[resolved] can I use qT-slug to write META-tags in the HTML-head? (3 posts)

  1. C S
    Member
    Posted 1 year ago #

    I would like to add a <link> element to my HTML head which specifies the correct URL to an alternate language version of the current page:
    <link rel="alternate" hreflang="de" href="http://www.example.com/de/" />

    I have the idea how to code this, but when the loop starts to build my page, it does not (yet) know the qTs function names so my script don't work.

    Is there a way to "earlier" activate qTs?

    I achieve to write the 3 needed URLs in the <body>, but that's too late :(

    http://wordpress.org/extend/plugins/qtranslate-slug/

  2. Carlos
    Member
    Plugin Author

    Posted 1 year ago #

    I recently closed this issue, that exposes your problem. Try to update the developing version.

  3. C S
    Member
    Posted 1 year ago #

    Perfect. That works out of the box.

    Many many thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.