$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')); ?>

    Advanced Recent Posts Shortcode Builder

    Layouts:
    Columns and width:
    Adaptive layout

    If none of the categories is selected - display posts from all categories.

    Only for shortcode, not global!

    Only for Basic layout.



    Only for Dropcap layout.

    Show date and time:
    Show date and time

    Only for Basic and Thumbnail layouts.

    Date Format
    Date Format




    Time Format
    Time Format



    Result: Generate Shortcode