Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News / Articles plugin in a multilanguage site.
#4
for default language page link your-link
Code:
<?php get_i18n_search_results(array('tags'=>'blog', 'DATE_FORMAT'=>'', 'max'=>4, 'i18n'=>0, 'lang'=>'ru', 'numWords'=>'1p','HEADER'=>'')); ?>
for en language page link your-link_en
Code:
<?php get_i18n_search_results(array('tags'=>'blog', 'DATE_FORMAT'=>'', 'max'=>4, 'i18n'=>0, 'lang'=>'en', 'numWords'=>'1p','HEADER'=>'')); ?>
for fr language page link your-link_fr
Code:
<?php get_i18n_search_results(array('tags'=>'blog', 'DATE_FORMAT'=>'', 'max'=>4, 'i18n'=>0, 'lang'=>'fr', 'numWords'=>'1p','HEADER'=>'')); ?>
for de language page link your-link_de
Code:
<?php get_i18n_search_results(array('tags'=>'blog', 'DATE_FORMAT'=>'', 'max'=>4, 'i18n'=>0, 'lang'=>'de', 'numWords'=>'1p','HEADER'=>'')); ?>
and then create a news page with the same references(_en, _de, _fr) and tagged blog or any other
Reply


Messages In This Thread
News / Articles plugin in a multilanguage site. - by Oleg06 - 2011-12-09, 21:48:23



Users browsing this thread: 3 Guest(s)