Forums

multilingual-posts (1 post)

  1. dulwich
    Member
    Posted 1 year ago #

    okay love the idea of this..

    But I got to nr 4 in the explanation and now I am stuck.
    I found the instructions a bit confusing could someone please explain this to me a little better:

    4. Edit your wordpress theme.

    <!--***NOTICE: the code below is modified for battery render in webpages.
    please replace ">" with > and "<" with "<" when insert to your wp theme***-->

    In the loop(inside a while(have_posts()) loop), find the top html container which is normally a div block and add a function call before the ">" mark:
    <?php /* Support for multilingual posts plugin*/ if(function_exists('theLangTag')) theLangTag($post->ID);?>
    It should look like this(wp2.2 default theme):
    <div class="post" id="post-<?php the_ID(); ?>" <?php /* Support for multilingual posts plugin*/ if(function_exists('theLangTag')) theLangTag($post->ID);?> >

    Thanks for the help in advance

    Or if anybody knows of a better and easer language changer please post link ty

Topic Closed

This topic has been closed to new replies.

About this Topic