$taxonomy, 'orderby' => 'name', 'show_count' => 0, 'pad_counts' => 0, 'hierarchical' => 1, 'hide_empty' => 0 ); $categories = get_categories($args); foreach ($categories as $category) { if (!empty($post_category)) { if (is_array($post_category) && in_array($category->term_id, $post_category)) { $checked = 'checked="checked"'; } else { $checked = ''; } } else { $checked = ''; } $categories_content .= '
' . "\n"; } } } else { $categories_content = 'No taxonomies for selected post type'; } echo $categories_content; wp_die(); } function lptw_recent_posts_manage_shortcodes() { $default_posts_per_page = intval(get_option('posts_per_page', '10')); ?>| Layouts: | |
|---|---|
| Columns and width: |
Space beetween columns:
|
|
'authors'
);
$blog_authors = get_users( $authors_args );
?>
If none of authors is selected - will be displayed posts of all authors. |
|
Now only work with posts. |
If none of tags is selected - will be displayed posts with tags and without tags.
|
|
If none of the categories is selected - will be displayed the posts from all the categories. |
|
|
Only for shortcode, not global!
|
|
|
Only for Basic layout. |
|
|
For Drop Cap layout. Also used in other Layouts if the Posts have no Featured Image. |
|
| Show date and time: | |
| Date Format | |
| Time Format | |
| Result: |
Generate Shortcode
|