內容簡介
選擇您想顯示的類別和文章數量,並顯示該發佈內容的名稱和圖片。
如何使用
從管理->設置進入文章管理器選項,輸入數據,生成代碼,將其複製並粘貼到所需的位置中
FlexoPostManager ::category_post ($ _args);其中$ _args是一種類型的數組
$args = array (
'category' => 'pictures',
'count' = > 5,
'h_num' => 3,
'master_class' => 'post-preview',
'return' = > false,
'title_first' => true,
'template_func' => 'format_post_as_picture',
'order_by_postmeta' => array (
'key' => 'fb_score',
'order' => 'DESC'
),
);
您可以將其放在標題、側邊欄中等等。
外掛標籤
開發者團隊
原文外掛簡介
Choose from which category and how many posts you want to show, as is shown
name and picture of the contents of this publication.
How to use
From the Administration -> settings go to post manager options enter data, generate code copy and paste the desired place in post
FlexoPostManager::category_post($_args); where $ _args is an array of type
$args = array(
‘category’ => ‘pictures’,
‘count’ => 5,
‘h_num’ => 3,
‘master_class’ => ‘post-preview’,
‘return’ => false,
‘title_first’ => true,
‘template_func’ => ‘format_post_as_picture’,
‘order_by_postmeta’ => array(
‘key’ => ‘fb_score’,
‘order’ => ‘DESC’
),
);
you can put this wherever you want in header, in sidebar …..
