- 12/05/12 18:57:21 (2 years ago)
- 2 edited
r634233 r634495 8 8 Requires at least: 3.3 9 9 Tested up to: 3.5 10 Stable tag: 4.0 10 Stable tag: 4.0 11 11 License: GPLv2 or later 12 12 … … 84 84 If your question isn't here, ask your own question at [the WordPress.org forums](http://wordpress.org/support/plugin/yet-another-related-posts-plugin). *Please do not email with questions.* 85 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 86 108 = How can I use the custom template feature? = 87 109 88 110 YARPP's [custom templates feature](http://mitcho.com/blog/projects/yarpp-3-templates/) allows you to uber-customize the related posts display using the same coding conventions and [Template Tags](http://codex.wordpress.org/Template_Tags) as in WordPress themes. Custom templates must be in your *active theme's main directory* in order to be recognized by YARPP. If your theme did not ship with YARPP templates, move the files in the `yarpp-templates` directory which ships with YARPP into your active theme's main directory. Be sure to move the *files* (which must be named `yarpp-template-`...`.php`) to your theme, not the entire directory. 89 90 = How can I move the related posts display? = 91 92 If you do not want to show the Related Posts display in its default position (right below the post content), first go to YARPP options and turn off the "automatically display" option in the "website" section. If you would like to instead display it in your sidebar and you have a widget-aware theme, YARPP provides a Related Posts widget which you can add under "Appearance" > "Widgets". 93 94 If you would like to add the Related Posts display elsewhere, edit your relevant theme file (most likely something like `single.php`) and add the PHP code `related_posts();` within [The Loop](http://codex.wordpress.org/The_Loop) where you want to display the related posts. This method can also be used to display YARPP on pages other than single-post displays, such as on archive pages. 95 111 96 112 = Does YARPP slow down my blog/server? = … … 244 260 = 4.0.1 = 245 261 * Improvements to thumbnail handling 246 * Thumbnail size can be specified by adding `add_image_size( 'yarpp-thumbnail', $width, $height, true );` to your theme's `functions.php` file. In the future I may add some UI to the settings to also set this... feedback is requested on whether this is a good idea. 247 * YARPP now registers its thumbnail size properly. To have WordPress build thumbnails of the right size, use the [Regenerate Thumbnails](http://wordpress.org/extend/plugins/regenerate-thumbnails/) plugin. 262 * See new FAQ entry for practical details 263 * Thumbnail size can be specified programmatically (see FAQ) 264 * YARPP now registers its thumbnail size properly as `yarpp-thumbnail` 248 265 * Fixed a typo and simplified an item in the dynamic `styles-thumbnails.php` styles 249 * Thumbnails of appropriate size can be generated on the fly, if they do not already exist, by calling `yarpp_set_option('generate_thumbnails', true);`. This is turned off by default and hidden for due to performance concerns. 266 * 250 267 * Bugfix: a class of `yarpp-related-` with a stray hyphen was sometimes being produced. Now fixed so it produces `yarpp-related`. 251 268 * [Bugfix](http://wordpress.org/support/topic/bug-in-sql-function-in-yarpp_cache): `term_relationships` table was being joined when unnecessary
r634171 r634495 4 4 Plugin URI: http://yarpp.org/ 5 5 Description: Returns a list of related entries based on a unique algorithm for display on your blog and RSS feeds. Now with Now with thumbnail support built-in! 6 Version: 4.0.1 b3 6 Version: 4.0.1 7 7 Author: mitcho (Michael Yoshitaka Erlewine) 8 8 Author URI: http://mitcho.com/ … … 10 10 */ 11 11 12 define('YARPP_VERSION', '4.0.1 b3'); 12 define('YARPP_VERSION', '4.0.1'); 13 13 define('YARPP_DIR', dirname(__FILE__)); 14 14 define('YARPP_NO_RELATED', ':(');
Note: See TracChangeset for help on using the changeset viewer.