WordPress.org

Plugin Directory

Changeset 220659


Ignore:
Timestamp:
03/22/10 15:58:58 (8 years ago)
Author:
JonRaasch
Message:

adds 1.3 - image path correction, the_loop honors max_posts, changes to readme.txt

Location:
yet-another-featured-posts-plugin
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • yet-another-featured-posts-plugin/trunk/readme.txt

    r168101 r220659  
    55Plugin URI: http://jonraasch.com/blog/yet-another-featured-posts-plugin 
    66Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4URDTZYUNPV3J&lc=US&item_name=Jon%20Raasch&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted 
    7 Tags: featured posts, featured, highlight, starred, star, highlight posts, interface, feature 
     7Tags: featured posts, featured, highlight, starred, star, highlight posts, feature, featured post list 
    88Requires at least: 2.8.4 
    9 Tested up to: 2.8.5 
    10 Stable tag: 1.2 
     9Tested up to: 2.9.2 
     10Stable tag: 1.3 
    1111 
    12 Yet Another Featured Posts Plugin provides an easy interface for featuring and unfeaturing posts.  Click the "featured stars" for each post in WordPress' post listing. 
     12Yet Another Featured Posts Plugin provides an easy AJAX interface to feature posts, with thumbnails & other display options for featured posts. 
    1313 
    1414== Description == 
    1515 
    16 Yet Another Featured Posts Plugin (YAFPP) provides an easy interface to feature and unfeature posts in your WordPress blog. Simply check the 'featured stars' associated with each post in WordPress' post listing screen.  The plugin will post this info immediately with AJAX. 
     16Yet Another Featured Posts Plugin (YAFPP) provides an easy interface to feature posts in your WordPress blog. Simply check the 'featured stars' associated with each post in WordPress' post listing screen to feature or unfeature a post.  This info is posted immediately to your WordPress settings using AJAX. 
    1717 
    18 YAFPP also provides a number of output options for developers - you can echo out or return an HTML formatted string of featured posts, return an array of featured post data or manipulate WordPress' The_Loop. 
     18This interface for featuring/unfeaturing posts is a big step up from other featured posts plugins, which make you enter a string of IDs. 
    1919 
    20 Read the [complete documentation](http://dev.jonraasch.com/yafpp/docs "Read the complete documentation") 
     20Additionally, YAFPP provides a number of output options for WP developers - you can echo out or return an HTML formatted string of featured posts, return an array of featured post data or manipulate WordPress' The_Loop. 
     21 
     22Using these display options you can easily display a thumbnail with each featured post, or otherwise modify the list of featured posts according to your setup. 
     23 
     24Not a developer?  Beginners can also display thumbnails with their featured posts by installing [YAPB](http://wordpress.org/extend/plugins/yet-another-photoblog/ "Yet Another Photoblog").  YAFPP interfaces nicely with YAPB, and allows you to display YAPB thumbnails along with your normal featured posts output. 
     25 
     26Please read the [complete documentation for YAFPP](http://dev.jonraasch.com/yafpp/docs "Read the complete documentation") 
    2127 
    2228== Installation == 
     
    95101== Changelog == 
    96102 
     103= 1.3 = 
     104* Fixes image path bug (thanks to Greg Boggs for his help here) 
     105* Output method 'the_loop' now honors "max_posts" setting (thanks to Nicol˜ Martini for this contribution) 
     106 
    97107= 1.2 = 
    98108* URL and descriptions bug fixed 
  • yet-another-featured-posts-plugin/trunk/yafpp.php

    r168112 r220659  
    44Plugin URI: http://jonraasch.com/blog/yet-another-featured-posts-plugin 
    55Description: A plugin to manage and display a list of featured posts 
    6 Version: 1.2 
     6Version: 1.3 
    77Author: Jon Raasch 
    88Author URI: http://jonraasch.com/ 
     
    179179    query_posts(array( 
    180180        'post__in' => $featured_arr, 
     181        'posts_per_page' => $yafpp_opts['max_posts'] 
    181182    )); 
    182183     
     
    303304// add css for post listings UI 
    304305function yafpp_css() { 
    305     $root = get_option('home'); 
    306     $yafpp_dir = $root . '/wp-content/plugins/yet-another-featured-posts-plugin'; 
     306    $script_path = substr( __FILE__, 0, -10); 
     307 
     308    $yafpp_dir = get_option('siteurl') . '/wp-content/plugins' . substr( $script_path, strrpos( $script_path, '/')) . '/'; 
    307309     
    308310    $out = <<<EOT 
Note: See TracChangeset for help on using the changeset viewer.