2014-03-26, 02:57:57
Hello forum,
I'm new to GS and building a bilingual news/article demo with GetSimple. I've installed special pages plugin and figured out how to use I18N search to generate the index page, which now loops through news/articles in both languages.
The index page is simple:
Outputs:
News item 1 »
News item 2 »
News item 3 »
I'd like just to get author information included to list item.
So I added a field called "author" with label "author" in I18N configuration.
How is it possible to get the author information (if it's available) to be part of the list item, for example like this:
News item 1 »
by John Doe
News item 2 »
by Lore M. Ipsum
News item 3 »
by Jane Doe
How to proceed - any thoughts?
I'm new to GS and building a bilingual news/article demo with GetSimple. I've installed special pages plugin and figured out how to use I18N search to generate the index page, which now loops through news/articles in both languages.
The index page is simple:
Code:
<?php get_i18n_search_results(array('tags'=>'news', 'lang'=>'en','showDate'=>0,'showLanguage'=>0, 'words'=>' ', 'max'=>99, 'numWords'=>0, 'order'=>reverseurl, 'HEADER'=>null)); ?>
Outputs:
News item 1 »
News item 2 »
News item 3 »
I'd like just to get author information included to list item.
So I added a field called "author" with label "author" in I18N configuration.
How is it possible to get the author information (if it's available) to be part of the list item, for example like this:
News item 1 »
by John Doe
News item 2 »
by Lore M. Ipsum
News item 3 »
by Jane Doe
How to proceed - any thoughts?