Merhaba,
Blog sayfamı düzenliyorum son yazıların üstte olmasını ve bir sayfada 6 tane yazı gelsin istiyorum. Blog sayfasının kodlarında bir sıkıntı var mı?
Çünkü ilk sayfada 5,4,3,2,1 ikinci sayfada 9,8,7,6 şeklinde geliyor.Yardımcı olabilir misiniz?
'Blog'=>array(
'header'=>array(
'title'=> 'HEADER TITLE',
'name'=> 'page-option-item-blog-header-title',
'type'=> 'inputtext'),
'item-size'=>array(
'title'=>'BLOG SIZE',
'name'=>'page-option-item-blog-size',
'options'=>array('0'=>'1/4 Blog Widget', '2'=>'1/3 Blog Widget',
'3'=>'1/2 Blog Widget', '4'=>'1/1 Blog Widget',
'5'=>'1/1 Medium Thumbnail', '6'=>'1/1 Full Thumbnail'),
'type'=>'combobox',
'description'=>'This is the actual size of the blog thumbnail. Outside size is the size of wrapper. The full-blog will appear only when the wrapper size equals to 1/1/.'),
'category'=>array(
'title'=>'CHOOSE CATEGORY',
'name'=>'page-option-item-blog-category',
'options'=>array(),
'type'=>'combobox',
'description'=>'Choose the post category you want to fetch the post.'),
'show-thumbnail'=>array(
'title'=> 'SHOW BLOG THUMBNAIL',
'name'=> 'page-option-item-blog-thumbnail',
'type'=> 'combobox',
'options'=> array('Yes', 'No')),
'num-fetch'=>array(
'title'=> 'BLOG NUM FETCH',
'name'=> 'page-option-item-blog-num-fetch',
'type'=> 'inputtext',
'default'=> 9,
'description'=>'This is the number of fetched item in one page.'),
'num-excerpt'=>array(
'title'=> 'LENGHT OF EXCERPT',
'name'=> 'page-option-item-blog-num-excerpt',
'type'=> 'inputtext',
'default'=> 285,
'description'=>'This is the number of thumbnail content character.'),
'show-full-blog-post'=>array(
'title'=> 'SHOW FULL BLOG CONTENT',
'name'=> 'page-option-item-show-full-blog',
'type'=> 'combobox',
'options'=> array('No','Yes'),
'description'=>'Select this to yes will fetch the full posts to show ( only use for the 1/1 full thumbnail blog size. ).'),
'pagination'=>array(
'title'=>'ENABLE PAGINATION',
'name'=>'page-option-item-blog-pagination',
'type'=> 'combobox',
'options'=>array('0'=>'No', '1'=>'Yes'),
'hr'=> 'none',
'description'=>'Pagination will only appear when the number of blog post is greater than the number of fetched item in one page.'),
'offset'=>array(
'title'=>'BLOG OFFSET',
'name'=>'page-option-item-blog-offset',
'type'=>'inputtext',
'description'=>'Choose the number of posts to skip from fetching, leave it blank to set it to 0.' .
'<br><br> **** Please noted that, offset option and pagination will not work well together ****'),
'orderby'=>array(
'title'=>'ORDER BY',
'options'=> array('date', 'title', 'rand', 'comment_count'),
'name'=>'page-option-item-blog-orderby',
'type'=>'combobox' ),
'order'=>array(
'title'=>'ORDER',
'options'=> array('asc', 'desc'),
'default'=> 'desc',
'name'=>'page-option-item-blog-order',
'type'=>'combobox' ),
'item-margin'=>array(
'title'=> __('BOTTOM MARGIN', 'gdl_back_office'),
'name'=> 'page-option-item-blog-item-margin',
'default'=>'40',
'hr'=>'none',
'type'=> 'inputtext'),
),