WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate slug with widget
Slug automatic generation is gone with 0.5 version (4 posts)

  1. erralin
    Member
    Posted 2 years ago #

    A couple of days ago my WordPress installation asked me to update qtranslate slug to 0.5. Since then although I have the option to input manually the translated slugs they are not generated automatically as they were until y upgrade the version.

    I have downgraded the version and installed again the 0.4 version and I have automatic slug generation working again.

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

  2. pabloselin
    Member
    Posted 2 years ago #

    You can handle some automatic generation via jQuery, because the input fields in the metabox gets automatically converted when you save you just have to manage to put the title in each slug box.

    Check my lousy function that I made to achieve this result, it's far from complete but it makes the work in a four language site:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  3. mixette
    Member
    Posted 2 years ago #

    Hey jhonqwerty,

    I'd be really interested to check out your lousy function ;-)
    If you would be willing to post it again using pastebin, i'd be very happy about that!

  4. pabloselin
    Member
    Posted 2 years ago #

    mixette, I'm sorry, it seems that I lost that function. From what I remember the function was some javascript in the wordpress edit screen that grabbed the different translated titles from the input fields and put them in the slug fields, because the widget transformed the titles automatically to web-safe once you updated the post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic