Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wpscanteam
GitHub Repository: wpscanteam/wpscan
Path: blob/master/spec/fixtures/finders/plugin_version/readme/advanced-most-recent-posts-mod.txt
486 views
1
=== Advanced Most Recent Posts Mod ===
2
Contributors: yakuphan, trepmal
3
Tags: Advanced, recent, recent posts, most recent, category posts, thumbnail
4
Donate link: http://kaileylampert.com/donate/
5
Requires at least: 2.8
6
Tested up to: 3.2.1
7
Stable tag: trunk
8
9
Based off the Advanced Most Recent Posts plugin by Yakup GÖVLER. Display most recent posts from selected categories or current category or all categories with thumbnail images (optional).
10
11
== Description ==
12
Advanced Most Recent Posts Widget displays your recent posts with thumbnail images (optional). It gets posts from selected categories or current category or all categories. When your visitors are at home, it gets posts from all posts or selected category. If you set 'Get posts from current category', when visitors see single post, widget lists posts in the same category of single post or when visitors click a category link, it gets posts from current category.
13
14
Check out a brand new plugin inspired by this one: [Mini Loops](http://wordpress.org/extend/plugins/mini-loops/)
15
16
I'm bad at support (not intentionally). If you have questions: check the forums, then check [my blog post's comment thread](http://trepmal.com/plugins/advanced-most-recent-posts-mod/#comments). If that doesn't work, post to the forums (there are awesome volunteers out there!) and get my attention by pinging me on twitter [@trepmal](http://twitter.com/trepmal).
17
18
== Installation ==
19
20
= Installation =
21
1. Make sure you are running WordPress version 2.8 or better. It won't work with older versions.
22
2. Download the zip file and extract the contents.
23
3. Upload the 'advanced-most-recent-posts' folder (wp-content/plugins/).
24
4. Activate the plugin through the 'plugins' page in WP.
25
5. See 'Appearance'->'Widgets' to place it on your sidebar. Set the settings.
26
27
== Frequently Asked Questions ==
28
29
= How can I set it to get posts from current category? =
30
Select checkbox on widget's settings called 'Get posts from current category'.
31
32
= I want to display only the posts in two categories. =
33
You have to write their category's ids -separated with a comma- to 'Categories' textbox.
34
35
= I don't use Widgets. How can use this widget? =
36
37
template tag: `yg_recentposts( $args )`
38
shortcode: `[amrp]` with args
39
Original author's [website](http://www.yakupgovler.com/?p=1033).
40
41
= .... Image alignment .... =
42
43
If you need serious customization, please go learn CSS. I will not provide extensive CSS support. (Sorry - there are just far too many variations, and I do all this in my spare time)
44
45
The most frequest request I get has to do with aligning the image to the right or left. To get started with customization, create a file called amrp-styles.php (really, any name will do) and upload it to `wp-content/mu-plugins` (you may need to create this directory).
46
47
In that file, paste the following
48
`<?php
49
/*
50
AMRP Styles
51
*/
52
53
add_action('wp_head', 'amrp_styles');
54
function amrp_styles() {
55
?>
56
<style type="text/css">
57
.advanced-recent-posts {
58
/* remove bullet points */
59
list-style-type: none;
60
}
61
.advanced-recent-posts li {
62
}
63
.advanced-recent-posts li a {
64
}
65
.advanced-recent-posts li img {
66
float: right; /* change to left if you'd prefer */
67
margin: 3px;
68
}
69
</style>
70
<?php
71
}`
72
73
Of course, if you have the skills, feel free to relocate that CSS.
74
75
== Screenshots ==
76
77
1. Widget's screenshot in 'Appearance'->'Widgets'
78
2. (original version) Widget's screenshot in 'Appearance'->'Widgets'
79
80
== Options ==
81
82
Widget's options allow you to change your recent posts list displaying.
83
84
= Title: =
85
Your recent posts widget's title on your sidebar.
86
87
= Title Link: =
88
The page the title should link to.
89
90
= Hide Post Title: =
91
Check to hide post title in output. useful for thumbnail-only displays
92
93
= Separator: =
94
The character to use to separate the title from the excerpt.
95
96
= After Excerpt: =
97
What should appear after the excerpt
98
99
= After Excerpt Link: =
100
should the 'after excerpt' text link to the post? useful if 'after excerpt' read like "read more..."
101
102
= Show: =
103
The post type to be displayed.
104
105
= Number of posts to show: =
106
How many posts to display
107
108
= Excerpt length (letters) =
109
You know that
110
111
= Thumbnail Custom Field Name =
112
If you want to display the thumbnail of your posts via a custom field, write its name.
113
114
= Height - Width =
115
Images size.
116
117
= Get first image of post =
118
If you don't want to use custom field, plugin will get first image from your post content.
119
120
= Get first attached image of post =
121
Plugin gets first attached image of post.
122
123
= Default image =
124
If post has no image, plugin display this image. Ex: http://www.yakupgovler.com/default-image.png
125
126
127
Notice: If you use three options, plugin uses custom field image firstly. If the post has no custom field, it gets first image from content. At last it gets first attached image. I suggest not to use "Get first image of post" for performance. It queries much more.
128
129
= Show Author =
130
If checked, shows author next to title
131
132
= Show Post Timestamp =
133
If checked, shows post timestamp
134
135
= Time format =
136
The format to be used when displaying the timestamp
137
138
= Put time =
139
A placement option for the post timestamp
140
141
= Categories =
142
Plugin gets posts in these categories. (Category IDs, separated by commas.)
143
144
= Get posts from current category: =
145
Posts will be get from current category (single post's category or current category).
146
147
148
== Upgrade Notice ==
149
150
= 1.6.5 =
151
bugfix: 'after excerpt' now appears as it should even if the link option is unchecked
152
Have you tried [Mini Loops](http://wordpress.org/extend/plugins/mini-loops/)?
153
154
= 1.6.4 =
155
moved image outside of title so it won't disappear if 'hide title' is checked
156
undefined variable bug fix
157
158
= 1.6.3 =
159
fixed after-excerpt-link bug
160
161
= 1.6 =
162
Future updates will assume you have at least this release.
163
164
== Changelog ==
165
166
= 1.6.5.2 =
167
* it title is empty, show nothing not default
168
169
= 1.6.5.1 =
170
* updated POT file
171
172
= 1.6.5 =
173
* bugfix: 'after excerpt' now appears as it should even if the link option is unchecked
174
175
= 1.6.4 =
176
* moved image outside of title so it won't disappear if 'hide title' is checked
177
* undefined variable bug fix
178
179
= 1.6.3 =
180
* fixed after-excerpt-link bug
181
182
= 1.6.2 =
183
* shortcode fixes for 'limit' (really should be 'shownum' - now both work) and height/width
184
185
= 1.6.1 =
186
* author fix
187
188
= 1.6 =
189
* remove 20 post limit
190
* option to display posts in reverse order
191
* excerpt by *word* count option
192
* post-offset option
193
194
= 1.5 =
195
* *dev release*
196
* option to hide post title
197
* option to specify the '...' after excerpt
198
199
= 1.4.1 =
200
* fixed double echo issue
201
202
= 1.4 =
203
* added support for shortcodes, show author option and post-type choice
204
205
= 1.3 =
206
* fixed timestamp bug, added timestamp placement option
207
208
= 1.2 =
209
* added support for setting a title link, choosing a title/content separator, and displaying post timestamp
210
211
= 1.1 =
212
* (original plugin) Fixed a bug. If you don't set image dimensions, it displays thumbnail wrong.
213
214
= Version 1.0 =
215
* Initial release version.
216
217