WordPress.org

Forums

qTranslate
Read More Link (2 posts)

  1. paul448
    Member
    Posted 1 year ago #

    Hi

    I have a multilingual website (English and Welsh) and I am using the qtranslate plugin.

    Everything works OK however I cant seem to get the 'Read more' permalink to change to the corresponding language in my wordpress loop. My code is the below:

    <article class="recent-blog">';
    $output .='<h4><a href="'. get_permalink().'">'.get_the_title().'</a></h4>
    <p>'.$short_excerpt.'</p>
    <p class="readmore_link"><a href="'. get_permalink().'"> Read More </a></p>
    </article>

    I've tried [:en] and [:cy] before the readmore text, but still can't seem to get it to work.

    Does anybody have any ideas on how to get it to work? Any help would be greatly appreciated :)

    https://wordpress.org/plugins/qtranslate/

  2. Carret
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • qTranslate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic