Filtering by category
-
It’s correct this string?
<?php
// Defining widget options.
$args = array(// Set thumbnail width (default 100)
‘thumbnail_width’ => ’80’,
// Set thumbnail height (default 100)
‘thumbnail_height’ => ’80’ ,
// Set displayed post content length (default: 100)
‘post_content_length’ => 0,
// Display post date? (default: ‘yes’)
‘post_date’ => ‘no’,
// Set string break text (default: […])
‘string_break’ => ”,
// Display thumbnails? (default: ‘yes’)
‘display_thumbnail’ => ‘yes’,
‘post_limit’ => 1,
‘post_random’ => ‘no’,
// Filter posts by including categories IDs. (default: none)
‘category_include’ => 14
);// Function call.
special_recent_posts($args);?>
I can filter by 2 / 3 or more category!
Thank You!
https://www.ads-software.com/extend/plugins/special-recent-posts/
- The topic ‘Filtering by category’ is closed to new replies.