$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 dimensions:
    Adaptive layout
    Space beetween columns:   

    Open link in a this or new window.

    '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!

    Number of post to displace or pass over.

    Only for Basic layout.



    For Basic and Drop Cap layout. Also used in other Layouts if Posts have no Featured Image.

    Post Excerpt:

    Only for Responsive Grid layout yet.

    Date, time and subtitle settings:
    Show date and time

    Only for Basic and Thumbnail layouts.

    Date Format
    Date Format




    Time Format
    Time Format



    Result: Generate Shortcode