Changeset 983961
- Timestamp:
- 09/08/2014 02:26:34 AM (12 years ago)
- Location:
- tt-post-viewer
- Files:
-
- 4 edited
-
tags/1.0/readme.txt (modified) (3 diffs)
-
tags/1.0/tt-post-viewer.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/tt-post-viewer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tt-post-viewer/tags/1.0/readme.txt
r886113 r983961 1 1 === TT Post Viewer === 2 2 Contributors: rashed.latif 3 Donate link: http://www. knowhowto.com.au/donate3 Donate link: http://www.technologiestoday.com.au/donate 4 4 Tags: post, posts, widget, thumbnail, shortcode, excerpt, latest, recent, commented, related, popular, sidebar, sidebar widget, plugin, related post, popular post, post by date, post by author, post by category, list, comments, images, image 5 5 Requires at least: 3.0.1 6 Tested up to: 3.8.16 Tested up to: 4.0 7 7 Stable tag: 1.0 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 15 *I Appreciate if you please give reviews and any suggestions after using this plugin. *15 *I Appreciate if you please give reviews and any suggestions after using this plugin. If you like this plugin you can donate or contribute by clicking on this [link](http://www.technologiestoday.com.au/donate/)* 16 16 17 17 TT Post Viewer is a plugin that lets you display Most recent posts, Most popular posts, Most commented posts, Related Posts, Featured Posts, Posts by author, Posts by category, Posts by date in widget area and also can be displayed in post area by using short codes. Posts can be displayed as List or with thumbnail. You can also select whether you want the excerpt to be displayed or not and you can also set the number of words to display. 18 18 19 *This plugin is checked on different popular themes and it works fine in most themes. In some themes you may need to tweak style sheet to make it look better. F ew more features will be added in the future versions.*19 *This plugin is checked on different popular themes and it works fine in most themes. In some themes you may need to tweak style sheet to make it look better. For some themes it doesn't install. So if you experience any difficulties at the time of installation please try to install on a different theme for test purpose to make sure its the theme causing this issue. Other than that it works absolutely fine with the latest version of wordpress. Few more features will be added in the future versions.* 20 20 21 = How to Use: = 22 TT Post viewer option page can be accessed by going to 'Settings' and then 'Post Viewer Options'. 23 There are 9 sections in the option page. 24 25 * General Settings 26 * Recent Posts 27 * Most Popular Posts 28 * Most Commented Posts 29 * Related Posts 30 * Featured Posts 31 * Posts by Authors 32 * Posts by Categories 33 * Posts By Date 34 35 = 1. General Settings: = 36 37 This section is to set the thumbnail size that will be displayed in widget area and post area. Width and Height is in pixel. After the size is set and saved you need to run any plugin that regenerate thumbnail sizes to take that into effect. One such plugin is Force Regenerate Thumbnails. 38 39 = 2. Recent Posts: = 40 41 * **Title**: This field is to set the title that will be displayed in widget area or post area when short code is used for recent posts. If this field is empty then default title will be displayed. 42 43 * **Enable Sidebar Widget**: If this check box is selected then a widget for recent post will be enabled and that widget can be used in sidebar or footer or any other widget area that a theme supports. By checking this option few more options will be displayed. Those are: 44 * *Number of posts*: Set the number of posts to be displayed. 45 * *Display posts as*: Select between list view or thumbnail view. 46 * *By author*: Select one or multiple authors. 47 * *By Category*: Select one or multiple Categories. 48 49 When the widget is enabled in order to use that widget you need to go to 'Appearance' -> 'Widgets' and then select "TTPV: Recent Posts" widget and drag and drop to the widget area. Once the it is placed in the widget area all the values that are set for this widget in the Post Viewer Options page will be available here as well. You can also change the values or options from the widget page. Any values that will be set from widget page will override the values set from Post Viewer main option page. 50 51 * **Enable Shortcode**: By checking this shortcode will be enable for recent posts. Anywhere in the post shortcode can be placed. Basic shortcode for recent post is [ttpv-recent]. Few more options will be displayed when this checkbox will be selected. 52 * *Number of posts*: Set the number of posts to be displayed. 53 * *Display posts as*: Select between list view or thumbnail view. 54 * *Show Excerpt*: To enable and disable excerpts to be displayed 55 * *Excerpt size*: Size of excerpts in word numbers. 56 * *By author*: Select one or multiple authors. 57 * *By Category*: Select one or multiple Categories. 58 59 = Use of shortcode: = 60 61 >*`[ttpv-recent]`: Shows recent posts depending on the options set from main Post Viewer Option page.* 62 63 >*`[ttpv-recent auths='1,2']`: Shows posts by selected authors. Here Posts by user id 1 and 2 will be displayed.* 64 65 >*`[ttpv-recent cats='1,2']`: Shows posts from selected categories. Here Posts category id 1 and 2 will be displayed.* 66 67 >*`[ttpv-recent cats='1,2' auths='1,2']`: Can be used this way to customise more.* 68 69 >*`[ttpv-recent disp='thumbnail']`: Display all posts with thumbnail* 70 71 >*`[ttpv-recent disp='list']`: Display all posts as list.* 72 73 >*`[ttpv-recent posts='4']`: Displays 4 posts.* 74 75 >*`[ttpv-recent title='Most Recent Posts']`: Display '"Most Recent Posts" as title in recent post area.* 76 77 >*`[ttpv-recent exrpt='yes' exrptlen='10']`: Displays posts with excerpts enabled and excerpt size is set to 10 words.* 78 79 These options can be used in any combination. Any values that will be set in shortcode will override the values set from main option page. Otherwise it will use the values set from main option page as default values. 80 81 = 3. Most Popular Posts: = Similar use as Recent Posts. Only when using shortcode you need to type [ttpv-mostpopular]. 82 83 **Some example:** 84 >*`[ttpv-mostpopular]`: Shows recent posts depending on the options set from main Post Viewer Option page.* 85 86 >*`[ttpv-mostpopular auths='1,2']`: Shows posts by selected authors. Here Posts by user id 1 and 2 will be displayed.* 87 88 >*`[ttpv-mostpopular cats='1,2']` : Shows posts from selected categories. Here Posts category id 1 and 2 will be displayed.* 89 90 >*`[ttpv-mostpopular cats='1,2' auths='1,2']`: Can be used this way to customise more.* 91 92 >*`[ttpv-mostpopular disp='thumbnail']`: Display all posts with thumbnail* 93 94 >*`[ttpv-mostpopular disp='list']`: Display all posts as list.* 95 96 >*`[ttpv-mostpopular posts='4']`: Displays 4 posts.* 97 98 >*`[ttpv-mostpopular title='Most Recent Posts']`: Display "Most Recent Posts" as title in recent post area.* 99 100 >*`[ttpv-mostpopular exrpt='yes' exrptlen='10']`: Displays posts with excerpts enabled and excerpt size is set to 10 words.* 101 102 = 4. Most Commented Posts: = Similar use as the previous options. Only when using shortcode you need to type `[ttpv-mostcommented]`. 103 104 = 5. Featured Posts: = Similar use as the previous options. *When this plugin is activated a check box is added in post edit page so any post can be selected as a featured post. For whichever post this check box is selected that will appear in featured post list*. When using shortcode you need to type `[ttpv-featured]`. 105 106 = 6. Posts by Authors: = Similar use as the previous options. Only when using shortcode you need to type `[ttpv-author]`. 107 108 = 7. Related Posts: = similar use as previous options. Only difference is there is no option to select author or category. Widgets and shortcodes will only be used in single page. For shortcodes you need to type `[ttpv-related]`. 109 110 = 8. Posts by Category: = This is also similar to the other ones but it doesn't have the option to select author. Apart from that everything is similar. For shortcodes you need to type `[ttpv-category]`. 111 = 9. Posts by Date: = This one is also used exactly same as other options. In addition it have 2 additional fields to select the date range. One is for the start date and other is for end date. So the posts which are posted between that date range will be displayed. For shortcodes you need to type `[ttpv-bydate]`. 112 113 **Example:** 114 115 >*`[ttpv-bydate from_date='01-01-2010' to_date='23-02-2014' posts='4' exrpt='yes' exrptlen='5']`* 116 21 Check the [TT Post Viewer](http://www.technologiestoday.com.au/guide-to-use-tt-post-viewer-plugin-for-wordpress-2) plugin page for more information and installation guide. 117 22 118 23 == Installation == … … 121 26 2. Activate the plugin through the 'Plugins' menu in WordPress 122 27 3. Go to 'Settings' and Post Viewer Options' 123 124 125 28 126 29 == Screenshots == -
tt-post-viewer/tags/1.0/tt-post-viewer.php
r868282 r983961 3 3 /* 4 4 Plugin Name: TT Post Viewer Plugin 5 Plugin URI: http://www. knowhowto.com.au/use-tt-post-viewer-great-plugin-wordpress5 Plugin URI: http://www.technologiestoday.com.au/guide-to-use-tt-post-viewer-plugin-for-wordpress-2/ 6 6 Description: Displays Recent Posts, Most Popular Posts, Most Commented Posts, Featured Posts, Related Posts, Posts by Authors, Posts by Categories, Posts by Date. Posts can be displayed in widget area or post or page content area. 7 7 Tags: post, posts, widget, thumbnail, shortcode, excerpt, latest, recent, commented, related, popular, sidebar, sidebar widget, plugin, related post, popular post, post by date, post by author, post by category, list, comments, images, image 8 8 Author: Rashed Latif 9 Author URI: http://www.knowhowto.com.au/rashed-latif 10 Donate link: http://www.knowhowto.com.au/donate 9 Author URI: http://www.technologiestoday.com.au/rashed-latif 10 Donate link: http://www.technologiestoday.com.au/donate 11 Requires at least: 3.0.1 12 Tested up to: 4.0 11 13 Version: 1.0 12 14 */ -
tt-post-viewer/trunk/readme.txt
r886113 r983961 1 1 === TT Post Viewer === 2 2 Contributors: rashed.latif 3 Donate link: http://www. knowhowto.com.au/donate3 Donate link: http://www.technologiestoday.com.au/donate 4 4 Tags: post, posts, widget, thumbnail, shortcode, excerpt, latest, recent, commented, related, popular, sidebar, sidebar widget, plugin, related post, popular post, post by date, post by author, post by category, list, comments, images, image 5 5 Requires at least: 3.0.1 6 Tested up to: 3.8.16 Tested up to: 4.0 7 7 Stable tag: 1.0 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 15 *I Appreciate if you please give reviews and any suggestions after using this plugin. *15 *I Appreciate if you please give reviews and any suggestions after using this plugin. If you like this plugin you can donate or contribute by clicking on this [link](http://www.technologiestoday.com.au/donate/)* 16 16 17 17 TT Post Viewer is a plugin that lets you display Most recent posts, Most popular posts, Most commented posts, Related Posts, Featured Posts, Posts by author, Posts by category, Posts by date in widget area and also can be displayed in post area by using short codes. Posts can be displayed as List or with thumbnail. You can also select whether you want the excerpt to be displayed or not and you can also set the number of words to display. 18 18 19 *This plugin is checked on different popular themes and it works fine in most themes. In some themes you may need to tweak style sheet to make it look better. F ew more features will be added in the future versions.*19 *This plugin is checked on different popular themes and it works fine in most themes. In some themes you may need to tweak style sheet to make it look better. For some themes it doesn't install. So if you experience any difficulties at the time of installation please try to install on a different theme for test purpose to make sure its the theme causing this issue. Other than that it works absolutely fine with the latest version of wordpress. Few more features will be added in the future versions.* 20 20 21 = How to Use: = 22 TT Post viewer option page can be accessed by going to 'Settings' and then 'Post Viewer Options'. 23 There are 9 sections in the option page. 24 25 * General Settings 26 * Recent Posts 27 * Most Popular Posts 28 * Most Commented Posts 29 * Related Posts 30 * Featured Posts 31 * Posts by Authors 32 * Posts by Categories 33 * Posts By Date 34 35 = 1. General Settings: = 36 37 This section is to set the thumbnail size that will be displayed in widget area and post area. Width and Height is in pixel. After the size is set and saved you need to run any plugin that regenerate thumbnail sizes to take that into effect. One such plugin is Force Regenerate Thumbnails. 38 39 = 2. Recent Posts: = 40 41 * **Title**: This field is to set the title that will be displayed in widget area or post area when short code is used for recent posts. If this field is empty then default title will be displayed. 42 43 * **Enable Sidebar Widget**: If this check box is selected then a widget for recent post will be enabled and that widget can be used in sidebar or footer or any other widget area that a theme supports. By checking this option few more options will be displayed. Those are: 44 * *Number of posts*: Set the number of posts to be displayed. 45 * *Display posts as*: Select between list view or thumbnail view. 46 * *By author*: Select one or multiple authors. 47 * *By Category*: Select one or multiple Categories. 48 49 When the widget is enabled in order to use that widget you need to go to 'Appearance' -> 'Widgets' and then select "TTPV: Recent Posts" widget and drag and drop to the widget area. Once the it is placed in the widget area all the values that are set for this widget in the Post Viewer Options page will be available here as well. You can also change the values or options from the widget page. Any values that will be set from widget page will override the values set from Post Viewer main option page. 50 51 * **Enable Shortcode**: By checking this shortcode will be enable for recent posts. Anywhere in the post shortcode can be placed. Basic shortcode for recent post is [ttpv-recent]. Few more options will be displayed when this checkbox will be selected. 52 * *Number of posts*: Set the number of posts to be displayed. 53 * *Display posts as*: Select between list view or thumbnail view. 54 * *Show Excerpt*: To enable and disable excerpts to be displayed 55 * *Excerpt size*: Size of excerpts in word numbers. 56 * *By author*: Select one or multiple authors. 57 * *By Category*: Select one or multiple Categories. 58 59 = Use of shortcode: = 60 61 >*`[ttpv-recent]`: Shows recent posts depending on the options set from main Post Viewer Option page.* 62 63 >*`[ttpv-recent auths='1,2']`: Shows posts by selected authors. Here Posts by user id 1 and 2 will be displayed.* 64 65 >*`[ttpv-recent cats='1,2']`: Shows posts from selected categories. Here Posts category id 1 and 2 will be displayed.* 66 67 >*`[ttpv-recent cats='1,2' auths='1,2']`: Can be used this way to customise more.* 68 69 >*`[ttpv-recent disp='thumbnail']`: Display all posts with thumbnail* 70 71 >*`[ttpv-recent disp='list']`: Display all posts as list.* 72 73 >*`[ttpv-recent posts='4']`: Displays 4 posts.* 74 75 >*`[ttpv-recent title='Most Recent Posts']`: Display '"Most Recent Posts" as title in recent post area.* 76 77 >*`[ttpv-recent exrpt='yes' exrptlen='10']`: Displays posts with excerpts enabled and excerpt size is set to 10 words.* 78 79 These options can be used in any combination. Any values that will be set in shortcode will override the values set from main option page. Otherwise it will use the values set from main option page as default values. 80 81 = 3. Most Popular Posts: = Similar use as Recent Posts. Only when using shortcode you need to type [ttpv-mostpopular]. 82 83 **Some example:** 84 >*`[ttpv-mostpopular]`: Shows recent posts depending on the options set from main Post Viewer Option page.* 85 86 >*`[ttpv-mostpopular auths='1,2']`: Shows posts by selected authors. Here Posts by user id 1 and 2 will be displayed.* 87 88 >*`[ttpv-mostpopular cats='1,2']` : Shows posts from selected categories. Here Posts category id 1 and 2 will be displayed.* 89 90 >*`[ttpv-mostpopular cats='1,2' auths='1,2']`: Can be used this way to customise more.* 91 92 >*`[ttpv-mostpopular disp='thumbnail']`: Display all posts with thumbnail* 93 94 >*`[ttpv-mostpopular disp='list']`: Display all posts as list.* 95 96 >*`[ttpv-mostpopular posts='4']`: Displays 4 posts.* 97 98 >*`[ttpv-mostpopular title='Most Recent Posts']`: Display "Most Recent Posts" as title in recent post area.* 99 100 >*`[ttpv-mostpopular exrpt='yes' exrptlen='10']`: Displays posts with excerpts enabled and excerpt size is set to 10 words.* 101 102 = 4. Most Commented Posts: = Similar use as the previous options. Only when using shortcode you need to type `[ttpv-mostcommented]`. 103 104 = 5. Featured Posts: = Similar use as the previous options. *When this plugin is activated a check box is added in post edit page so any post can be selected as a featured post. For whichever post this check box is selected that will appear in featured post list*. When using shortcode you need to type `[ttpv-featured]`. 105 106 = 6. Posts by Authors: = Similar use as the previous options. Only when using shortcode you need to type `[ttpv-author]`. 107 108 = 7. Related Posts: = similar use as previous options. Only difference is there is no option to select author or category. Widgets and shortcodes will only be used in single page. For shortcodes you need to type `[ttpv-related]`. 109 110 = 8. Posts by Category: = This is also similar to the other ones but it doesn't have the option to select author. Apart from that everything is similar. For shortcodes you need to type `[ttpv-category]`. 111 = 9. Posts by Date: = This one is also used exactly same as other options. In addition it have 2 additional fields to select the date range. One is for the start date and other is for end date. So the posts which are posted between that date range will be displayed. For shortcodes you need to type `[ttpv-bydate]`. 112 113 **Example:** 114 115 >*`[ttpv-bydate from_date='01-01-2010' to_date='23-02-2014' posts='4' exrpt='yes' exrptlen='5']`* 116 21 Check the [TT Post Viewer](http://www.technologiestoday.com.au/guide-to-use-tt-post-viewer-plugin-for-wordpress-2) plugin page for more information and installation guide. 117 22 118 23 == Installation == … … 121 26 2. Activate the plugin through the 'Plugins' menu in WordPress 122 27 3. Go to 'Settings' and Post Viewer Options' 123 124 125 28 126 29 == Screenshots == -
tt-post-viewer/trunk/tt-post-viewer.php
r868282 r983961 3 3 /* 4 4 Plugin Name: TT Post Viewer Plugin 5 Plugin URI: http://www. knowhowto.com.au/use-tt-post-viewer-great-plugin-wordpress5 Plugin URI: http://www.technologiestoday.com.au/guide-to-use-tt-post-viewer-plugin-for-wordpress-2/ 6 6 Description: Displays Recent Posts, Most Popular Posts, Most Commented Posts, Featured Posts, Related Posts, Posts by Authors, Posts by Categories, Posts by Date. Posts can be displayed in widget area or post or page content area. 7 7 Tags: post, posts, widget, thumbnail, shortcode, excerpt, latest, recent, commented, related, popular, sidebar, sidebar widget, plugin, related post, popular post, post by date, post by author, post by category, list, comments, images, image 8 8 Author: Rashed Latif 9 Author URI: http://www.knowhowto.com.au/rashed-latif 10 Donate link: http://www.knowhowto.com.au/donate 9 Author URI: http://www.technologiestoday.com.au/rashed-latif 10 Donate link: http://www.technologiestoday.com.au/donate 11 Requires at least: 3.0.1 12 Tested up to: 4.0 11 13 Version: 1.0 12 14 */
Note: See TracChangeset
for help on using the changeset viewer.