Changeset 500982
- Timestamp:
- 02/06/2012 01:39:22 PM (14 years ago)
- Location:
- simple-series
- Files:
-
- 6 added
- 2 edited
-
tags/1.4.5 (added)
-
tags/1.4.5/readme.txt (added)
-
tags/1.4.5/screenshot-1.png (added)
-
tags/1.4.5/screenshot-2.png (added)
-
tags/1.4.5/screenshot-3.png (added)
-
tags/1.4.5/simpleseries.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/simpleseries.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-series/trunk/readme.txt
r500397 r500982 5 5 Requires at least: 3.3 6 6 Tested up to: 3.3.1 7 Stable tag: 1.4. 47 Stable tag: 1.4.5 8 8 9 9 An easy to use shortcode for automatically creating and organizing a series list for multiple posts on the same topic with appropriate SEO attributes. … … 57 57 <br> `span.mbk_simple_series_title { font-weight:bold; }` 58 58 <br> `div.mbk_simple_series_wrapper ol li.mbk_simple_series_list_item { font-size:smaller; line-height: 0.8em;}` 59 <br> `a.mbk_simple_series_list_current_item { font-weight:bold;}` 59 60 60 61 = Wait! I have more questions! = … … 69 70 70 71 == Changelog == 72 73 = 1.4.5 = 74 * 2/6/2012: Now the plugin adds a class to the link to the current post in the series. This makes it easy for you to highlight this link with CSS, if you wish. I've added the example CSS to the FAQ. This makes it a little easier for the reader to find where the post is in the series. Thanks to insomnia for the inspiration! 71 75 72 76 = 1.4.4 = -
simple-series/trunk/simpleseries.php
r500398 r500982 4 4 Plugin URI: wordpress.org/extend/plugins/simple-series/ 5 5 Description: Super simple post series organization 6 Version: 1.4. 47 Date: 02-0 4-20126 Version: 1.4.5 7 Date: 02-06-2012 8 8 Author: MakerBlock 9 9 Author URI: http://www.makerblock.com … … 49 49 // 4.c. Create an OL list for the posts - appended to the end of the post 50 50 for ($i=0; $i<count($pageposts);$i++) 51 { $text .= "<li class='mbk_simple_series_list_item'><a href='". get_permalink($pageposts[$i]->ID) ."' title='". $pageposts[$i]->post_title ."'>". $pageposts[$i]->post_title ."</a></li>"; } 51 { 52 if ($pageposts[$i]->ID == $postID) 53 { $linkClass = " class='mbk_simple_series_list_current_item'"; } 54 $text .= "<li class='mbk_simple_series_list_item'><a href='". get_permalink($pageposts[$i]->ID) ."' title='". $pageposts[$i]->post_title ."' $linkClass>". $pageposts[$i]->post_title ."</a></li>"; 55 } 52 56 $text .= "</ol></div>"; 53 57 }
Note: See TracChangeset
for help on using the changeset viewer.