WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
Read More Link (2 posts)

  1. paul448
    Member
    Posted 2 months 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 month ago #

Reply

You must log in to post.

About this Plugin

About this Topic