• I have used this plugin for a long time and was sad to see it is no longer being developed. However, I continue to use it and will unless and until it becomes a safety issue. Here is a list of shortcodes tht work with this plugin. I hope this helps other users.

    <?php
    if(function_exists('special_recent_posts')) {
    	special_recent_posts($args);
    }
    ?>
    where $args is an array of the following options:
    // Change widget title (default: 'special recent posts')
    'widget_title' => text
    
    // Display thumbnails? (default: 'yes')
    'display_thumbnail' => 'yes' | 'no'
    
    // Hide widget title? (default 'no')
    'widget_title_hide' => 'no'
    
    // Set thumbnail width (default 100)
    'thumbnail_width' => digit
    
    // Set thumbnail height (default 100)
    'thumbnail_height' => digit
    
    // Link thumbnails to post? (default: 'yes')
    'thumbnail_link' => yes' | 'no'
    
    // Set thumbnail rotation mode (default 'no')
    'thumbnail_rotation' => 'no|cw|ccw'
    
    // Set default displayed post types (default: 'post')
    'post_type' => 'post' | 'page
    
    // Set default displayed post status (default: 'publish')
    'post_status' => 'publish' | 'private' | 'inherit' | 'pending' | 'future' | 'draft' | 'trash'
    
     // Set max number of posts to display (default: 5)
    'post_limit' => digit
    
    // Set displayed post content type (default: 'content')
    'post_content_type' => 'content' | 'excerpt'
    
    // Set displayed post content length (default: 100)
    'post_content_length' => digit
    
    // Set displayed post content length mode (default: 'chars')
    'post_content_length_mode' => chars|words|fullexcerpt
    
    // Set displayed post title length (default 100)
    'post_title_length' => digit
    
    // Set displayed post title length mode (default: 'chars')
    'post_title_length_mode' => chars|words|fulltitle
    
    // Set post order (default: 'DESC')
    'post_order' => 'DESC' | 'ASC
    
    // Set post offset (default: 0)
    'post_offset' => digit
    
    // Set random mode (default: 'no')
    'post_random' => 'no' | 'yes'
    
    // Hide current post from visualization when in single post view? (default: 'yes')
    'post_current_hide' => 'yes' | 'no'
    
    // Set layout content mode (default: 'titleexcerpt')
    'post_content_mode' => 'titleexcerpt' | 'titleonly'
    
    // Display post date? (default: 'yes')
    'post_date' => 'yes' | 'no'
    
    // Filter posts by including post IDs (default: none)
    'post_include' => comma separated list of digits
    
    // Exclude posts from visualization by IDs (default: none)
    'post_exclude' => comma separated list of digits
    
    // Filter post by Custom Post Type (default: none)
    'custom_post_type' => comma separated list of custom post types
    
    // Set the default 'No posts available' text (default: 'No posts available')
    'noposts_text' => text
    
    // Set allowed tags to display in the excerpt visualization.
    'allowed_tags' => blankspace separated list of html tags
    
    // Set string break text (default: [...])
    'string_break' => text
    
    // Set path to optional image string break.
    'image_string_break' => text
    
    // Link (image)string break to post?
    'string_break_link'  => 'yes' | 'no
    
    // Set post date format. (default: 'F jS, Y')
    'date_format' => text
    
    // Filter posts by including categories IDs. (default: none)
    'category_include' => comma separated list of digits
    
    // When filtering by caqtegories, switch the widget title to a linked category title (default: 'no')
    'category_title' => 'no', 'yes'
    
    // Add the 'no-follow' attribute to all widget links.
    'nofollow_links' => 'no' | 'yes'
    Example: Show last 5 posts in random order filtering by category IDs 3 and 7. (PHP mode)
    
    <?php
    // Defining widget options.
    $args = array(
    	'post_limit'       => 5,
    	'post_random'      => 'yes',
    	'category_include' => 3, 7
    );

    I’ve tried other recent post plugins but they aren’t as flexible as this one. See it in use on the front page under “Newsworthy” here: https://www.idylwood.org

    • This topic was modified 8 years, 2 months ago by jonimueller. Reason: Edit typo
    • This topic was modified 8 years, 2 months ago by jonimueller.
    • This topic was modified 8 years, 2 months ago by jonimueller.
  • The topic ‘Shortcode List’ is closed to new replies.