Changeset 496218
- Timestamp:
- 01/27/2012 05:08:35 PM (14 years ago)
- Location:
- simple-series/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
simpleseries.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-series/trunk/readme.txt
r496037 r496218 5 5 Requires at least: 3.3 6 6 Tested up to: 3.3.1 7 Stable tag: 1. 37 Stable tag: 1.4 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. … … 39 39 No problem! The "Simple Post Series with SEO!" plugin will always update the series lists in each of your posts whenever you publish a new post. The newest post will always be added to the series in chronological order, by publication date. You can see an example of what it looks like here in my own DrawBot series. 40 40 41 = Hey! This formatting sucks! Can I add my own CSS? = 42 43 Sure! There are three components to the series list: the DIV wrapper, the title of the series, and the list items. Just edit the following to suit and add them to your stylesheet. 44 * div#mbk_simple_series_wrapper { } 45 * div#mbk_simple_series_wrapper span#mbk_simple_series_title { } 46 * div#mbk_simple_series_wrapper span#mbk_simple_series_title ol li.mbk_simple_series_list_item { } 47 41 48 = I have more questions! = 42 49 … … 49 56 50 57 == Changelog == 58 59 = 1.4 = 60 * 1/27/2012: FAQ gives some guidance on how to style the series lists. 61 * 1/27/2012: A very slight change to the series list formatting. (I changed the list title from having a class to having an id tag). 51 62 52 63 = 1.3 = … … 65 76 * Create an uninstall button - it would delete ALL post meta info that was associated with a key of "mbk_simple_series" 66 77 * Create a way to rename an entire series. This would take a fair bit of work - since the shortcode inside each post would have to be edited. It's not that easy, but totally doable. 67 * Add a little help for people who want to style the plugin's output -
simple-series/trunk/simpleseries.php
r496022 r496218 4 4 Plugin URI: http://www.MakerBlock.com 5 5 Description: Super simple post series organization 6 Version: 1. 36 Version: 1.4 7 7 Date: 01-27-2012 8 8 Author: MakerBlock … … 40 40 $pageposts = $wpdb->get_results($querystr, OBJECT); 41 41 // 4. Create the title for the series 42 $text = "<div id='mbk_simple_series_wrapper'><span class='mbk_simple_series_title'>$title</span><ol>";42 $text = "<div id='mbk_simple_series_wrapper'><span id='mbk_simple_series_title'>$title</span><ol>"; 43 43 // 4. Create an OL list for the posts - appended to the end of the post 44 44 for ($i=0; $i<count($pageposts);$i++)
Note: See TracChangeset
for help on using the changeset viewer.