(2022-01-20, 19:36:45)kazu2015 Wrote: I think too much and get a fever!
exemple
In template code and components
Code:
<?php get_i18n_search_results(array('tags'=>'_parent_'.return_page_slug(), 'lang'=>'en','words'=>' ', 'DATE_FORMAT'=>'', 'max'=>8, 'i18n'=>0, 'numWords'=>'-1', 'order'=>'+menuOrder','showPaging'=>1,'HEADER'=>'','NOT_FOUND'=>'')); ?>
Code:
<?php get_i18n_search_results(array('tags'=>'_main', 'lang'=>'en', 'words'=>' ', 'DATE_FORMAT'=>'', 'max'=>99, 'i18n'=>0, 'numWords'=>'-1', 'order'=>'created','showPaging'=>0,'HEADER'=>'','component'=>'last-news')); ?>
Code:
(% searchresults max:10 i18n:0 DATE_FORMAT:"" order:created showPaging:1 numWords:30 HEADER="" component="searchresults" %)