Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pedro Carvalho

    (@pedroghandi)

    Hi Rok Balboa,

    do you mean echo the current slug in a particular lang?

    // this echos the current url for the current language
    echo qts_get_url();

    // this echos the current url for the french language
    qts_get_url( ‘fr’ );

    Thread Starter Rok Balboa

    (@rok-balboa)

    No, I mean,… in tags (pages section) you can translate name of tag, but you cannot translate slug itself.

    Is there a possibility also to translate slug of tag somehow? And to use it in theme, only the slug of tag, not whole url.

    Plugin Author Pedro Carvalho

    (@pedroghandi)

    have a look at Settings -> Slug Option, you can translate “tag”, “category” or any other custom taxonomy you might have.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display / echo slug in theme’ is closed to new replies.