List category posts - Version 0.56

Version Description

  • Adds Indonesian (Bahasa Indonesia) translation. Thanks Dhyayi Warapsari!
    • Adds french from France language. Thanks Dorian Herlory!
    • Adds content=full parameter to ignore <!--more--> tags when displaying content. Thanks Sophist-UK!
    • Fixes excluded_tags parameter
Download this release

Release Info

Developer fernandobt
Plugin Icon 128x128 List category posts
Version 0.56
Comparing to
See all releases

Code changes from version 0.55 to 0.56

include/lcp-catlist.php CHANGED
@@ -289,26 +289,26 @@ class CatList{
289
 
290
  public function get_content($single){
291
  if (isset($this->params['content']) &&
292
- $this->params['content'] =='yes' &&
293
  $single->post_content):
294
-
295
  $lcp_content = $single->post_content;
296
- $lcp_content = apply_filters('the_content', $lcp_content);
297
- $lcp_content = str_replace(']]>', ']]&gt', $lcp_content);
298
-
299
- if ( preg_match('/[\S\s]+(<!--more(.*?)?-->)[\S\s]+/', $lcp_content, $matches) ):
300
- if( empty($this->params['posts_morelink']) ):
301
- $lcp_more = __('Continue reading &rarr;', 'list-category-posts');
302
- else:
303
- $lcp_more = '';
304
- endif;
305
- $lcp_post_content = explode($matches[1], $lcp_content);
306
- $lcp_content = $lcp_post_content[0] .
307
- ' <a href="' . get_permalink($single->ID) . '" title="' . "$lcp_more" . '">' .
308
- $lcp_more . '</a>';
309
- endif;
310
-
311
- return $lcp_content;
 
312
  else:
313
  return null;
314
  endif;
289
 
290
  public function get_content($single){
291
  if (isset($this->params['content']) &&
292
+ ($this->params['content'] =='yes' || $this->params['content'] =='full') &&
293
  $single->post_content):
 
294
  $lcp_content = $single->post_content;
295
+ $lcp_content = apply_filters('the_content', $lcp_content);
296
+ $lcp_content = str_replace(']]>', ']]&gt', $lcp_content);
297
+
298
+ if ($this->params['content'] =='yes' &&
299
+ preg_match('/[\S\s]+(<!--more(.*?)?-->)[\S\s]+/', $lcp_content, $matches) ):
300
+ if( empty($this->params['posts_morelink']) ):
301
+ $lcp_more = __('Continue reading &rarr;', 'list-category-posts');
302
+ else:
303
+ $lcp_more = '';
304
+ endif;
305
+ $lcp_post_content = explode($matches[1], $lcp_content);
306
+ $lcp_content = $lcp_post_content[0] . ($lcp_more ?
307
+ ' <a href="' . get_permalink($single->ID) . '" title="' . "$lcp_more" . '">' .
308
+ $lcp_more . '</a>' : '');
309
+ endif;
310
+
311
+ return $lcp_content;
312
  else:
313
  return null;
314
  endif;
include/lcp-parameters.php CHANGED
@@ -67,7 +67,7 @@ class LcpParameters{
67
  }
68
 
69
  if ( $this->utils->lcp_not_empty('exclude_tags') ){
70
- $this->lcp_excluded_tags($args);
71
  }
72
 
73
  // Current tags
@@ -141,7 +141,7 @@ class LcpParameters{
141
  }
142
 
143
  private function lcp_excluded_tags($args){
144
- $excluded_tags = explode(",", $this->params['exclude_tags']);
145
  $tag_ids = array();
146
  foreach ( $excluded_tags as $excluded){
147
  $tag_ids[] = get_term_by('slug', $excluded, 'post_tag')->term_id;
67
  }
68
 
69
  if ( $this->utils->lcp_not_empty('exclude_tags') ){
70
+ $args = $this->lcp_excluded_tags($params);
71
  }
72
 
73
  // Current tags
141
  }
142
 
143
  private function lcp_excluded_tags($args){
144
+ $excluded_tags = explode(",", $args['exclude_tags']);
145
  $tag_ids = array();
146
  foreach ( $excluded_tags as $excluded){
147
  $tag_ids[] = get_term_by('slug', $excluded, 'post_tag')->term_id;
languages/list-category-posts-id_ID.mo ADDED
Binary file
languages/list-category-posts-id_ID.po ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: List Category Posts\n"
4
+ "POT-Creation-Date: 2014-09-03 22:58-0300\n"
5
+ "PO-Revision-Date: 2015-02-03 13:57+0700\n"
6
+ "Last-Translator: Dhyayi Warapsari <aurodigo@gmail.com>\n"
7
+ "Language-Team: <fernando@picandocodigo.net>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.7.1\n"
12
+ "X-Poedit-KeywordsList: __(;_e;__\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "Plural-Forms: nplurals=1; plural=0;\n"
16
+ "Language: id_ID\n"
17
+ "X-Poedit-SearchPath-0: ../include\n"
18
+ "X-Poedit-SearchPath-1: ../.\n"
19
+ "X-Poedit-SearchPath-2: ../templates\n"
20
+ "X-Poedit-SearchPath-3: ..\n"
21
+
22
+ #: ../include/lcp-widget-form.php:51 .././include/lcp-widget-form.php:51
23
+ msgid "Title"
24
+ msgstr "Judul"
25
+
26
+ #: ../include/lcp-widget-form.php:61 .././include/lcp-widget-form.php:61
27
+ msgid "Category"
28
+ msgstr "Kategori"
29
+
30
+ #: ../include/lcp-widget-form.php:90 .././include/lcp-widget-form.php:90
31
+ msgid "Number of posts"
32
+ msgstr "Jumlah post"
33
+
34
+ #: ../include/lcp-widget-form.php:100 .././include/lcp-widget-form.php:100
35
+ msgid "Offset"
36
+ msgstr "Ofset"
37
+
38
+ #: ../include/lcp-widget-form.php:109 .././include/lcp-widget-form.php:109
39
+ msgid "Order by"
40
+ msgstr "Urut berdasarkan"
41
+
42
+ #: ../include/lcp-widget-form.php:113 ../include/lcp-widget-form.php:184
43
+ #: .././include/lcp-widget-form.php:113 .././include/lcp-widget-form.php:184
44
+ msgid "Date"
45
+ msgstr "Tanggal"
46
+
47
+ #: ../include/lcp-widget-form.php:114 .././include/lcp-widget-form.php:114
48
+ msgid "Post title"
49
+ msgstr "Judul post"
50
+
51
+ #: ../include/lcp-widget-form.php:115 ../include/lcp-widget-form.php:196
52
+ #: .././include/lcp-widget-form.php:115 .././include/lcp-widget-form.php:196
53
+ msgid "Author"
54
+ msgstr "Penulis"
55
+
56
+ #: ../include/lcp-widget-form.php:116 .././include/lcp-widget-form.php:116
57
+ msgid "Random"
58
+ msgstr "Acak"
59
+
60
+ #: ../include/lcp-widget-form.php:133 .././include/lcp-widget-form.php:133
61
+ msgid "Order"
62
+ msgstr "Urut"
63
+
64
+ #: ../include/lcp-widget-form.php:139 .././include/lcp-widget-form.php:139
65
+ msgid "Descending"
66
+ msgstr "Urut dari bawah"
67
+
68
+ #: ../include/lcp-widget-form.php:142 .././include/lcp-widget-form.php:142
69
+ msgid "Ascending"
70
+ msgstr "Urut dari atas"
71
+
72
+ #: ../include/lcp-widget-form.php:149 .././include/lcp-widget-form.php:149
73
+ msgid "Exclude categories (id's)"
74
+ msgstr "Tidak termasuk kategori (id)"
75
+
76
+ #: ../include/lcp-widget-form.php:159 .././include/lcp-widget-form.php:159
77
+ msgid "Exclude posts (id's)"
78
+ msgstr "Tidak termasuk post (id)"
79
+
80
+ #: ../include/lcp-widget-form.php:168 .././include/lcp-widget-form.php:168
81
+ msgid "Show"
82
+ msgstr "Tampilkan"
83
+
84
+ #: ../include/lcp-widget-form.php:170 .././include/lcp-widget-form.php:170
85
+ msgid "Thumbnail - size"
86
+ msgstr "Thumbnail - ukuran"
87
+
88
+ #: ../include/lcp-widget-form.php:190 .././include/lcp-widget-form.php:190
89
+ msgid "Modified Date"
90
+ msgstr "Tanggal Modifikasi"
91
+
92
+ #: ../include/lcp-widget-form.php:202 .././include/lcp-widget-form.php:202
93
+ msgid ""
94
+ "Link to category (use 'catlink' on the title field if you want the title of "
95
+ "this widget to be a link to the category)"
96
+ msgstr ""
97
+ "Tautan ke kategori (gunakan 'catlink' di kotak isian judul jika Anda mau "
98
+ "judul widget ini menjadi tautan ke kategori)"
99
+
100
+ #: ../include/lcp-widget-form.php:208 .././include/lcp-widget-form.php:208
101
+ msgid "Excerpt"
102
+ msgstr "Kutipan"
103
+
104
+ #: ../include/lcp-widget-form.php:212 .././include/lcp-widget-form.php:212
105
+ msgid "Excerpt size"
106
+ msgstr "Panjang kutipan"
107
+
108
+ #: ../include/lcp-widget-form.php:221 .././include/lcp-widget-form.php:221
109
+ msgid "More link"
110
+ msgstr "Tautan Selanjutnya"
111
+
112
+ #: ../include/lcp-widget-form.php:231 .././include/lcp-widget-form.php:231
113
+ msgid "Template"
114
+ msgstr "Template"
115
+
116
+ #: ../include/lcp-widget.php:11 .././include/lcp-widget.php:11
117
+ msgid "List posts from a specified category"
118
+ msgstr "Daftar post dari kategori tertentu"
119
+
120
+ #: ../include/lcp-widget.php:12 .././include/lcp-widget.php:12
121
+ msgid "List Category Posts"
122
+ msgstr "List Category Posts"
123
+
124
+ #: ../include/lcp-catlist.php:274 .././include/lcp-catlist.php:274
125
+ msgid "Empty Term"
126
+ msgstr "Term Kosong"
127
+
128
+ #: ../include/lcp-catlist.php:494 .././include/lcp-catlist.php:494
129
+ msgid "Continue reading &rarr;"
130
+ msgstr "Lanjutkan membaca &rarr;"
131
+
132
+ #: ../include/lcp-options.php:19 .././include/lcp-options.php:19
133
+ msgid "You do not have sufficient permissions to access this page."
134
+ msgstr "Anda tidak memiliki akses yang cukup untuk mengakses laman ini."
135
+
136
+ #: ../include/lcp-options.php:36 .././include/lcp-options.php:36
137
+ msgid "Number of Posts"
138
+ msgstr "Jumlah Post"
139
+
140
+ #: ../include/lcp-options.php:44 .././include/lcp-options.php:44
141
+ msgid ""
142
+ "Default number of posts (overriden using <code>numberposts</code> parameter "
143
+ "on each shortcode)."
144
+ msgstr ""
145
+ "Jumlah post bawaan (ubah menggunakan parameter <code>numberposts</code> di "
146
+ "setiap shortcode)."
147
+
148
+ #: ../include/lcp-options.php:46 .././include/lcp-options.php:46
149
+ msgid "0 - displays the max number of posts per page"
150
+ msgstr "0 - menampilkan jumlah post maksimal di setiap laman"
151
+
152
+ #: ../include/lcp-options.php:47 .././include/lcp-options.php:47
153
+ msgid "-1 - displays ALL THE POSTS (no limit)"
154
+ msgstr "-1 - menampilkan SEMUA POST (tidak ada batasan)"
155
+
156
+ #: ../include/lcp-options.php:57 .././include/lcp-options.php:57
157
+ msgid "Thanks for using List Category Posts."
158
+ msgstr "Terima kasih telah menggunakan List Category Posts."
159
+
160
+ #: ../include/lcp-options.php:58 .././include/lcp-options.php:58
161
+ msgid ""
162
+ "If you need help with the plugin, please visit\n"
163
+ " the <a href='http://wordpress.org/support/plugin/list-category-"
164
+ "posts'>WordPress\n"
165
+ " support forum</a>. Make sure\n"
166
+ " you <a href='http://wordpress.org/extend/plugins/list-category-posts/"
167
+ "other_notes/'>read\n"
168
+ " the instructions</a> to be aware of all the things you can do\n"
169
+ " with List Category Posts and <a href='https://github.com/picandocodigo/"
170
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check "
171
+ "out the FAQ</a>."
172
+ msgstr ""
173
+ "Jika Anda butuh bantuan dengan plugin ini, silakan kunjungi\n"
174
+ " <a href='http://wordpress.org/support/plugin/list-category-"
175
+ "posts'>WordPress\n"
176
+ " support forum</a>. Pastikan\n"
177
+ " Anda <a href='http://wordpress.org/extend/plugins/list-category-posts/"
178
+ "other_notes/'>membaca\n"
179
+ " semua instruksi</a> supaya tahu apa saja yang bisa Anda lakukan "
180
+ "dengan\n"
181
+ " List Category Posts dan <a href='https://github.com/picandocodigo/List-"
182
+ "Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>cek FAQ</"
183
+ "a>."
184
+
185
+ #: ../include/lcp-options.php:69 .././include/lcp-options.php:69
186
+ msgid ""
187
+ "Please post <strong>new feature requests, Bug fixes,\n"
188
+ " enhancements</strong>\n"
189
+ " to <a href='https://github.com/picandocodigo/List-Category-Posts/"
190
+ "issues'>GitHub\n"
191
+ " Issues</a> and check out the\n"
192
+ " the <a href='https://github.com/picandocodigo/List-Category-"
193
+ "Posts'>GitHub\n"
194
+ " repo</a> if you want to contribute code."
195
+ msgstr ""
196
+ "Mohon kirimkan <strong>permintaan fitur baru, perbaikan bug,\n"
197
+ " peningkatan plugin</strong>\n"
198
+ " ke <a href='https://github.com/picandocodigo/List-Category-Posts/"
199
+ "issues'>GitHub\n"
200
+ " Issues</a> dan cek\n"
201
+ " <a href='https://github.com/picandocodigo/List-Category-Posts'>GitHub\n"
202
+ " repo</a> jika Anda ingin berkontribusi."
203
+
204
+ #: ../include/lcp-options.php:77 .././include/lcp-options.php:77
205
+ msgid ""
206
+ "If you've found the plugin useful, consider making\n"
207
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
208
+ "category-posts-wordpress-plugin-english/'\n"
209
+ " title='Donate via PayPal' rel='nofollow'>donation via PayPal</a>\n"
210
+ " or visit my Amazon Wishlist\n"
211
+ " for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
212
+ "ref=wl_web'\n"
213
+ " title='Amazon Wishlist' rel='nofollow'>books</a>\n"
214
+ " or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
215
+ "ref=cm_wl_rlist_go_o'\n"
216
+ " rel='nofollow'>comic books</a> :)."
217
+ msgstr ""
218
+ "Jika Anda merasa plugin ini bermanfaat, pertimbangkan untuk memberikan\n"
219
+ " sebuah <a href='http://picandocodigo.net/programacion/wordpress/list-"
220
+ "category-posts-wordpress-plugin-english/'\n"
221
+ " title='Donasi melalui PayPal' rel='nofollow'>donasi melalui PayPal</"
222
+ "a>\n"
223
+ " atau kunjungi Daftar Keinginan saya di Amazon \n"
224
+ " untuk <a href='http://www.amazon.com/gp/registry/"
225
+ "wishlist/2HU1JYOF7DX5Q/ref=wl_web'\n"
226
+ " title='Amazon Wishlist' rel='nofollow'>buku</a>\n"
227
+ " atau <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
228
+ "ref=cm_wl_rlist_go_o'\n"
229
+ " rel='nofollow'>buku komik</a> :)."
230
+
231
+ #: .././list_cat_posts.php:143 ../list_cat_posts.php:143
232
+ msgid "How to use"
233
+ msgstr "Cara menggunakan"
234
+
235
+ #: .././list_cat_posts.php:144 ../list_cat_posts.php:144
236
+ msgid "Donate"
237
+ msgstr "Donasi"
238
+
239
+ #: .././list_cat_posts.php:145 ../list_cat_posts.php:145
240
+ msgid "Fork on Github"
241
+ msgstr "Fork di Github"
languages/list-category-posts_fr_FR.mo ADDED
Binary file
languages/list-category-posts_fr_FR.po ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: List Category Posts\n"
4
+ "POT-Creation-Date: 2014-09-03 22:58-0300\n"
5
+ "PO-Revision-Date: 2015-02-06 04:26+0100\n"
6
+ "Last-Translator: Dorian Herlory <dorian.herlory@gmail.com>\n"
7
+ "Language-Team: <fernando@picandocodigo.net>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.7.4\n"
12
+ "X-Poedit-KeywordsList: __(;_e;__\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
16
+ "Language: fr_FR\n"
17
+ "X-Poedit-SearchPath-0: ../include\n"
18
+ "X-Poedit-SearchPath-1: ../.\n"
19
+ "X-Poedit-SearchPath-2: ../templates\n"
20
+ "X-Poedit-SearchPath-3: ..\n"
21
+
22
+ #: ../include/lcp-widget-form.php:51 .././include/lcp-widget-form.php:51
23
+ msgid "Title"
24
+ msgstr "Titre"
25
+
26
+ #: ../include/lcp-widget-form.php:61 .././include/lcp-widget-form.php:61
27
+ msgid "Category"
28
+ msgstr "Catégorie"
29
+
30
+ #: ../include/lcp-widget-form.php:90 .././include/lcp-widget-form.php:90
31
+ msgid "Number of posts"
32
+ msgstr "Nombre d'articles"
33
+
34
+ #: ../include/lcp-widget-form.php:100 .././include/lcp-widget-form.php:100
35
+ msgid "Offset"
36
+ msgstr "Décalage"
37
+
38
+ #: ../include/lcp-widget-form.php:109 .././include/lcp-widget-form.php:109
39
+ msgid "Order by"
40
+ msgstr "Trier par"
41
+
42
+ #: ../include/lcp-widget-form.php:113 ../include/lcp-widget-form.php:184
43
+ #: .././include/lcp-widget-form.php:113 .././include/lcp-widget-form.php:184
44
+ msgid "Date"
45
+ msgstr "Date"
46
+
47
+ #: ../include/lcp-widget-form.php:114 .././include/lcp-widget-form.php:114
48
+ msgid "Post title"
49
+ msgstr "Titre de l'article"
50
+
51
+ #: ../include/lcp-widget-form.php:115 ../include/lcp-widget-form.php:196
52
+ #: .././include/lcp-widget-form.php:115 .././include/lcp-widget-form.php:196
53
+ msgid "Author"
54
+ msgstr "Auteur"
55
+
56
+ #: ../include/lcp-widget-form.php:116 .././include/lcp-widget-form.php:116
57
+ msgid "Random"
58
+ msgstr "Aléatoire"
59
+
60
+ #: ../include/lcp-widget-form.php:133 .././include/lcp-widget-form.php:133
61
+ msgid "Order"
62
+ msgstr "Trier"
63
+
64
+ #: ../include/lcp-widget-form.php:139 .././include/lcp-widget-form.php:139
65
+ msgid "Descending"
66
+ msgstr "Décroissant"
67
+
68
+ #: ../include/lcp-widget-form.php:142 .././include/lcp-widget-form.php:142
69
+ msgid "Ascending"
70
+ msgstr "Croissant"
71
+
72
+ #: ../include/lcp-widget-form.php:149 .././include/lcp-widget-form.php:149
73
+ msgid "Exclude categories (id's)"
74
+ msgstr "Exclure les catégories (par ID)"
75
+
76
+ #: ../include/lcp-widget-form.php:159 .././include/lcp-widget-form.php:159
77
+ msgid "Exclude posts (id's)"
78
+ msgstr "Exclure les articles (par ID)"
79
+
80
+ #: ../include/lcp-widget-form.php:168 .././include/lcp-widget-form.php:168
81
+ msgid "Show"
82
+ msgstr "Montrer"
83
+
84
+ #: ../include/lcp-widget-form.php:170 .././include/lcp-widget-form.php:170
85
+ msgid "Thumbnail - size"
86
+ msgstr "Miniature - taille"
87
+
88
+ #: ../include/lcp-widget-form.php:190 .././include/lcp-widget-form.php:190
89
+ msgid "Modified Date"
90
+ msgstr "Date de modification"
91
+
92
+ #: ../include/lcp-widget-form.php:202 .././include/lcp-widget-form.php:202
93
+ msgid ""
94
+ "Link to category (use 'catlink' on the title field if you want the title of "
95
+ "this widget to be a link to the category)"
96
+ msgstr ""
97
+ "Lien vers la catégorie (utilisez 'catlink' sur le champ de titre si vous "
98
+ "voulez que le titre de ce widget soit un lien vers la catégorie)"
99
+
100
+ #: ../include/lcp-widget-form.php:208 .././include/lcp-widget-form.php:208
101
+ msgid "Excerpt"
102
+ msgstr "Extrait"
103
+
104
+ #: ../include/lcp-widget-form.php:212 .././include/lcp-widget-form.php:212
105
+ msgid "Excerpt size"
106
+ msgstr "Taille de l'extrait"
107
+
108
+ #: ../include/lcp-widget-form.php:221 .././include/lcp-widget-form.php:221
109
+ msgid "More link"
110
+ msgstr "Lien plus"
111
+
112
+ #: ../include/lcp-widget-form.php:231 .././include/lcp-widget-form.php:231
113
+ msgid "Template"
114
+ msgstr "Template"
115
+
116
+ #: ../include/lcp-widget.php:11 .././include/lcp-widget.php:11
117
+ msgid "List posts from a specified category"
118
+ msgstr "Lister les articles d'une catégorie spécifiée"
119
+
120
+ #: ../include/lcp-widget.php:12 .././include/lcp-widget.php:12
121
+ msgid "List Category Posts"
122
+ msgstr "Lister les articles de la catégorie"
123
+
124
+ #: ../include/lcp-catlist.php:274 .././include/lcp-catlist.php:274
125
+ msgid "Empty Term"
126
+ msgstr "Terme vide"
127
+
128
+ #: ../include/lcp-catlist.php:494 .././include/lcp-catlist.php:494
129
+ msgid "Continue reading &rarr;"
130
+ msgstr "Continuer la lecture &rarr;"
131
+
132
+ #: ../include/lcp-options.php:19 .././include/lcp-options.php:19
133
+ msgid "You do not have sufficient permissions to access this page."
134
+ msgstr "Vous n'avez pas les permissions suffisantes pour accéder à cette page."
135
+
136
+ # Need to know what is designed by "Posts"
137
+ #: ../include/lcp-options.php:36 .././include/lcp-options.php:36
138
+ msgid "Number of Posts"
139
+ msgstr "Nombre d'articles"
140
+
141
+ #: ../include/lcp-options.php:44 .././include/lcp-options.php:44
142
+ msgid ""
143
+ "Default number of posts (overriden using <code>numberposts</code> parameter "
144
+ "on each shortcode)."
145
+ msgstr ""
146
+ "Nombre d'articles par défaut (outrepassez-le en utilisant le paramètre "
147
+ "<code>numberposts</code> sur chaque shortcode)."
148
+
149
+ #: ../include/lcp-options.php:46 .././include/lcp-options.php:46
150
+ msgid "0 - displays the max number of posts per page"
151
+ msgstr "0 - Affiche le nombre max d'articles par page"
152
+
153
+ #: ../include/lcp-options.php:47 .././include/lcp-options.php:47
154
+ msgid "-1 - displays ALL THE POSTS (no limit)"
155
+ msgstr "-1 - Affiche TOUS LES ARTICLES (sans limite)"
156
+
157
+ #: ../include/lcp-options.php:57 .././include/lcp-options.php:57
158
+ msgid "Thanks for using List Category Posts."
159
+ msgstr "Merci d'utiliser List Category Posts."
160
+
161
+ #: ../include/lcp-options.php:58 .././include/lcp-options.php:58
162
+ msgid ""
163
+ "If you need help with the plugin, please visit\n"
164
+ " the <a href='http://wordpress.org/support/plugin/list-category-"
165
+ "posts'>WordPress\n"
166
+ " support forum</a>. Make sure\n"
167
+ " you <a href='http://wordpress.org/extend/plugins/list-category-posts/"
168
+ "other_notes/'>read\n"
169
+ " the instructions</a> to be aware of all the things you can do\n"
170
+ " with List Category Posts and <a href='https://github.com/picandocodigo/"
171
+ "List-Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>check "
172
+ "out the FAQ</a>."
173
+ msgstr ""
174
+ "Si vous avez besoin d'aide avec le plugin, merci de visiter le\n"
175
+ "<a href='http://wordpress.org/support/plugin/list-category-posts'>\n"
176
+ "Forum d'assistance de Wordpress</a>. Assurez-vous d'avoir\n"
177
+ "<a href='http://wordpress.org/extend/plugins/list-category-posts/"
178
+ "other_notes/'>\n"
179
+ "lu les instructions</a> pour être au courant de toutes les choses que vous "
180
+ "pouvez faire\n"
181
+ "avec List Category Posts et <a href='https://github.com/picandocodigo/List-"
182
+ "Category-Posts/blob/master/doc/FAQ.md#frequently-asked-questions'>visitez la "
183
+ "FAQ</a>."
184
+
185
+ #: ../include/lcp-options.php:69 .././include/lcp-options.php:69
186
+ msgid ""
187
+ "Please post <strong>new feature requests, Bug fixes,\n"
188
+ " enhancements</strong>\n"
189
+ " to <a href='https://github.com/picandocodigo/List-Category-Posts/"
190
+ "issues'>GitHub\n"
191
+ " Issues</a> and check out the\n"
192
+ " the <a href='https://github.com/picandocodigo/List-Category-"
193
+ "Posts'>GitHub\n"
194
+ " repo</a> if you want to contribute code."
195
+ msgstr ""
196
+ "S'il vous plaît postez <strong>les demandes de nouvelles fonctionnalités, \n"
197
+ "les corrections de bugs, les améliorations</strong> sur le \n"
198
+ "<a href='https://github.com/picandocodigo/List-Category-Posts/issues'>\n"
199
+ "GitHub Issues</a> et visitez le \n"
200
+ "<a href='https://github.com/picandocodigo/List-Category-Posts'>dépôt GitHub</"
201
+ "a>\n"
202
+ "si vous voulez contribuer au code."
203
+
204
+ #: ../include/lcp-options.php:77 .././include/lcp-options.php:77
205
+ msgid ""
206
+ "If you've found the plugin useful, consider making\n"
207
+ " a <a href='http://picandocodigo.net/programacion/wordpress/list-"
208
+ "category-posts-wordpress-plugin-english/'\n"
209
+ " title='Donate via PayPal' rel='nofollow'>donation via PayPal</a>\n"
210
+ " or visit my Amazon Wishlist\n"
211
+ " for <a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
212
+ "ref=wl_web'\n"
213
+ " title='Amazon Wishlist' rel='nofollow'>books</a>\n"
214
+ " or <a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
215
+ "ref=cm_wl_rlist_go_o'\n"
216
+ " rel='nofollow'>comic books</a> :)."
217
+ msgstr ""
218
+ "Si vous avez trouvé l'extension utile, envisagez de faire un\n"
219
+ "<a href='http://picandocodigo.net/programacion/wordpress/list-category-posts-"
220
+ "wordpress-plugin-english/'\n"
221
+ "title='Donate via PayPal' rel='nofollow'>don via PayPal</a>\n"
222
+ "ou visitez ma liste de souhaits Amazon pour\n"
223
+ "<a href='http://www.amazon.com/gp/registry/wishlist/2HU1JYOF7DX5Q/"
224
+ "ref=wl_web'\n"
225
+ "title='Amazon Wishlist' rel='nofollow'>les livres</a> ou\n"
226
+ "<a href='http://www.amazon.com/registry/wishlist/1LVYAOJAZQOI0/"
227
+ "ref=cm_wl_rlist_go_o'\n"
228
+ "rel='nofollow'>les BD</a> :)."
229
+
230
+ #: .././list_cat_posts.php:143 ../list_cat_posts.php:143
231
+ msgid "How to use"
232
+ msgstr "Comment l'utiliser"
233
+
234
+ #: .././list_cat_posts.php:144 ../list_cat_posts.php:144
235
+ msgid "Donate"
236
+ msgstr "Doner"
237
+
238
+ #: .././list_cat_posts.php:145 ../list_cat_posts.php:145
239
+ msgid "Fork on Github"
240
+ msgstr "Forker sur Github"
list_cat_posts.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
- Version: 0.55
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
3
  Plugin Name: List category posts
4
  Plugin URI: https://github.com/picandocodigo/List-Category-Posts
5
  Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
6
+ Version: 0.56
7
  Author: Fernando Briano
8
  Author URI: http://fernandobriano.com
9
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate Link: http://picandocodigo.net/programacion/wordpress/list-category-posts
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
  Tested up to: 4.1
7
- Stable tag: 0.55
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -215,7 +215,7 @@ update the plugin.
215
 
216
  * **excerpt_size** - Set the number of *words* to display from the excerpt. Default is 55. Eg: `excerpt_size=30`
217
 
218
- * **excerpt_strip** - Set it to `yes` to strip the excerpt's HTML tags.
219
 
220
  * **title_limit** - Set the limit of characters for the title. Ex:
221
  `[catlist id=2 title_limit=50]` will show only the first 50
@@ -227,7 +227,9 @@ update the plugin.
227
 
228
  * **content** - **WARNING**: If you want to show the content on your listed posts, you might want to do this from a new [Page Template](http://codex.wordpress.org/Page_Templates) or a [Custom Post Type](http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates) template. Using this parameter is discouraged, you can have memory issues as well as infinite loop situations when you're displaying a post that's using List Category Posts. You have been warned. Usage:
229
 
230
- Show the full content of the post. If there's a &lt;!--more--&gt; tag in the post, then it will behave just as WordPress does: only show the content previous to the more tag. Default is 'no'. Ex: `[catlist content=yes]`
 
 
231
 
232
  * **catlink** - Show the title of the category with a link to the category. Use the **catlink_string** option to change the link text. Default is 'no'. Ex: `[catlist catlink=yes]`. The way it's programmed, it should only display the title for the first category you chose, and include the posts from all of the categories. I thought of this parameter mostly for using several shortcodes on one page or post, so that each group of posts would have the title of that group's category. If you need to display several titles with posts, you should use one [catlist] shortcode for each category you want to display.
233
 
@@ -264,9 +266,9 @@ Show the full content of the post. If there's a &lt;!--more--&gt; tag in the pos
264
  Default: None.
265
 
266
  * **post_suffix** - Pass a String to this parameter to display this
267
- String after every post title.
268
  Ex: `[catlist numberposts=-1
269
- post_suffix="Hello World"]` will create something like:
270
 
271
  ```<ul class="lcp_catlist" id=lcp_instance_0>
272
  <li>
@@ -439,6 +441,12 @@ Template system has changed. Custom templates should be stored in WordPress them
439
 
440
  == Changelog ==
441
 
 
 
 
 
 
 
442
  = 0.55 =
443
  * Ordered lists now follow the posts count when using pagination - https://wordpress.org/support/topic/templateol-resets-count-when-using-pagination
444
  * Fixes issue introduced in 0.54 with undefined indexes - https://wordpress.org/support/topic/problem-continues-with-0542
4
  Tags: list, categories, posts, cms
5
  Requires at least: 3.3
6
  Tested up to: 4.1
7
+ Stable tag: 0.56
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
215
 
216
  * **excerpt_size** - Set the number of *words* to display from the excerpt. Default is 55. Eg: `excerpt_size=30`
217
 
218
+ * **excerpt_strip** - Set it to `yes` to strip the excerpt's HTML tags. If the excerpt is auto generated by the plugin, the HTML tags will be stripped, and you should use `excerpt_strip=no` to see the excerpt with HTML formatting.
219
 
220
  * **title_limit** - Set the limit of characters for the title. Ex:
221
  `[catlist id=2 title_limit=50]` will show only the first 50
227
 
228
  * **content** - **WARNING**: If you want to show the content on your listed posts, you might want to do this from a new [Page Template](http://codex.wordpress.org/Page_Templates) or a [Custom Post Type](http://codex.wordpress.org/Post_Types#Custom_Post_Type_Templates) template. Using this parameter is discouraged, you can have memory issues as well as infinite loop situations when you're displaying a post that's using List Category Posts. You have been warned. Usage:
229
 
230
+ Show the excerpt or full content of the post. If there's a &lt;!--more--&gt; tag in the post, then it will behave just as WordPress does: only show the content previous to the more tag. Default is 'no'. Ex: `[catlist content=yes]`
231
+
232
+ Show the full content of the post regardless of whether there is a &lt;!--more--&gt; tag in the post. Ex: `[catlist content=full]`
233
 
234
  * **catlink** - Show the title of the category with a link to the category. Use the **catlink_string** option to change the link text. Default is 'no'. Ex: `[catlist catlink=yes]`. The way it's programmed, it should only display the title for the first category you chose, and include the posts from all of the categories. I thought of this parameter mostly for using several shortcodes on one page or post, so that each group of posts would have the title of that group's category. If you need to display several titles with posts, you should use one [catlist] shortcode for each category you want to display.
235
 
266
  Default: None.
267
 
268
  * **post_suffix** - Pass a String to this parameter to display this
269
+ String after every post title.
270
  Ex: `[catlist numberposts=-1
271
+ post_suffix="Hello World"]` will create something like:
272
 
273
  ```<ul class="lcp_catlist" id=lcp_instance_0>
274
  <li>
441
 
442
  == Changelog ==
443
 
444
+ = 0.56 =
445
+ * Adds Indonesian (Bahasa Indonesia) translation. Thanks Dhyayi Warapsari!
446
+ * Adds french from France language. Thanks Dorian Herlory!
447
+ * Adds content=full parameter to ignore <!--more--> tags when displaying content. Thanks Sophist-UK!
448
+ * Fixes excluded_tags parameter
449
+
450
  = 0.55 =
451
  * Ordered lists now follow the posts count when using pagination - https://wordpress.org/support/topic/templateol-resets-count-when-using-pagination
452
  * Fixes issue introduced in 0.54 with undefined indexes - https://wordpress.org/support/topic/problem-continues-with-0542