Version Description
- Bugfix (removed var_dump)
Download this release
Release Info
Developer | fernandobt |
Plugin | List category posts |
Version | 0.34.1 |
Comparing to | |
See all releases |
Code changes from version 0.34 to 0.34.1
- include/CatList.php +6 -1
- languages/list-category-posts-tr_TR.mo +0 -0
- languages/list-category-posts-tr_TR.po +128 -0
- list_cat_posts.php +1 -1
- readme.txt +5 -1
- templates/default.php +4 -0
include/CatList.php
CHANGED
@@ -115,7 +115,6 @@ class CatList{
|
|
115 |
elseif ( !empty($this->params['tags']) ):
|
116 |
$args['tag'] = $this->params['tags'];
|
117 |
endif;
|
118 |
-
var_dump($args);
|
119 |
$this->lcp_categories_posts = get_posts($args);
|
120 |
}
|
121 |
|
@@ -175,6 +174,12 @@ class CatList{
|
|
175 |
else:
|
176 |
$this->lcp_category_id = $lcp_id;
|
177 |
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
endif;
|
179 |
}
|
180 |
|
115 |
elseif ( !empty($this->params['tags']) ):
|
116 |
$args['tag'] = $this->params['tags'];
|
117 |
endif;
|
|
|
118 |
$this->lcp_categories_posts = get_posts($args);
|
119 |
}
|
120 |
|
174 |
else:
|
175 |
$this->lcp_category_id = $lcp_id;
|
176 |
endif;
|
177 |
+
|
178 |
+
if (preg_match('/\+/', $this->params['id'])):
|
179 |
+
$this->lcp_category_id = explode("+", $this->params['id']);
|
180 |
+
else:
|
181 |
+
$this->lcp_category_id = $this->params['id'];
|
182 |
+
endif;
|
183 |
endif;
|
184 |
}
|
185 |
|
languages/list-category-posts-tr_TR.mo
ADDED
Binary file
|
languages/list-category-posts-tr_TR.po
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012
|
2 |
+
# This file is distributed under the same license as the package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: list-category-posts\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp\n"
|
7 |
+
"POT-Creation-Date: 2012-12-19 13:23:13+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-01-27 20:15+0200\n"
|
12 |
+
"Last-Translator: HakanEr <hakanerwptr@gmail.com>\n"
|
13 |
+
"Language-Team: hakaner <hakanerwptr@gmail.com>\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"Language: turkish\n"
|
16 |
+
"X-Generator: Poedit 1.5.4\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
|
19 |
+
#: include/ListCategoryPostsWidget.php:5
|
20 |
+
msgid ""
|
21 |
+
"List Category Posts allows you to list posts from a category into a post/"
|
22 |
+
"page using the [catlist] shortcode. This shortcode accepts a category name "
|
23 |
+
"or id, the order in which you want the posts to display, and the number of "
|
24 |
+
"posts to display. You can use [catlist] as many times as needed with "
|
25 |
+
"different arguments. Usage: [catlist argument1=value1 argument2=value2]."
|
26 |
+
msgstr ""
|
27 |
+
"List Category Posts, [catlist] kısa kodunu kullanarak bir yazı/sayfa içinde "
|
28 |
+
"bir kategorideki yazıları listeleyebilmenizi sağlar. Bu kısa kod, bir "
|
29 |
+
"kategori adı veya id kimliği, yazıları görüntülemek istediğiniz sıra ve "
|
30 |
+
"gösterilecek yazı sayısını kabul eder. Farklı değişkenler ile gerektiğinde "
|
31 |
+
"birçok kez [catlist] kullanabilirsiniz. Kullanımı: [catlist değişken1=değer1 "
|
32 |
+
"değişken2=değer2]."
|
33 |
+
|
34 |
+
#: include/ListCategoryPostsWidget.php:11
|
35 |
+
msgid "List posts from a specified category"
|
36 |
+
msgstr "Belirli bir kategorideki yazıları listele"
|
37 |
+
|
38 |
+
#: include/ListCategoryPostsWidget.php:12
|
39 |
+
msgid "List Category Posts"
|
40 |
+
msgstr "List Category Posts"
|
41 |
+
|
42 |
+
#: include/lcp_widget_form.php:40
|
43 |
+
msgid "Title"
|
44 |
+
msgstr "Başlık"
|
45 |
+
|
46 |
+
#: include/lcp_widget_form.php:47
|
47 |
+
msgid "Category"
|
48 |
+
msgstr "Kategori"
|
49 |
+
|
50 |
+
#: include/lcp_widget_form.php:65
|
51 |
+
msgid "Number of posts"
|
52 |
+
msgstr "Yazı sayısı"
|
53 |
+
|
54 |
+
#: include/lcp_widget_form.php:72
|
55 |
+
msgid "Offset"
|
56 |
+
msgstr "Kaydırma"
|
57 |
+
|
58 |
+
#: include/lcp_widget_form.php:78
|
59 |
+
msgid "Order by"
|
60 |
+
msgstr "Sırala"
|
61 |
+
|
62 |
+
#: include/lcp_widget_form.php:81 include/lcp_widget_form.php:123
|
63 |
+
msgid "Date"
|
64 |
+
msgstr "Tarih"
|
65 |
+
|
66 |
+
#: include/lcp_widget_form.php:82
|
67 |
+
msgid "Post title"
|
68 |
+
msgstr "Yazı başlığı"
|
69 |
+
|
70 |
+
#: include/lcp_widget_form.php:83 include/lcp_widget_form.php:127
|
71 |
+
msgid "Author"
|
72 |
+
msgstr "Yazar"
|
73 |
+
|
74 |
+
#: include/lcp_widget_form.php:84
|
75 |
+
msgid "Random"
|
76 |
+
msgstr "Rasgele"
|
77 |
+
|
78 |
+
#: include/lcp_widget_form.php:88
|
79 |
+
msgid "Order"
|
80 |
+
msgstr "Sıralama"
|
81 |
+
|
82 |
+
#: include/lcp_widget_form.php:91
|
83 |
+
msgid "Descending"
|
84 |
+
msgstr "Azalan"
|
85 |
+
|
86 |
+
#: include/lcp_widget_form.php:92
|
87 |
+
msgid "Ascending"
|
88 |
+
msgstr "Artan"
|
89 |
+
|
90 |
+
#: include/lcp_widget_form.php:96
|
91 |
+
msgid "Exclude categories (id's)"
|
92 |
+
msgstr "Kategorileri (id'ler) hariç tut"
|
93 |
+
|
94 |
+
#: include/lcp_widget_form.php:102
|
95 |
+
msgid "Exclude posts (id's)"
|
96 |
+
msgstr "Yazıları (id'ler) hariç tut"
|
97 |
+
|
98 |
+
#: include/lcp_widget_form.php:109
|
99 |
+
msgid "Show"
|
100 |
+
msgstr "Göster"
|
101 |
+
|
102 |
+
#: include/lcp_widget_form.php:112
|
103 |
+
msgid "Thumbnail - size"
|
104 |
+
msgstr "Küçük resim - boyut"
|
105 |
+
|
106 |
+
#: include/lcp_widget_form.php:131
|
107 |
+
msgid "Link to category"
|
108 |
+
msgstr "Kategoriye bağlantı"
|
109 |
+
|
110 |
+
#: include/lcp_widget_form.php:135
|
111 |
+
msgid "Excerpt"
|
112 |
+
msgstr "Alıntı"
|
113 |
+
|
114 |
+
#: include/lcp_widget_form.php:138
|
115 |
+
msgid "More link"
|
116 |
+
msgstr "Devamı bağlantısı"
|
117 |
+
|
118 |
+
#: list_cat_posts.php:102
|
119 |
+
msgid "How to use"
|
120 |
+
msgstr "Nasıl kullanılır"
|
121 |
+
|
122 |
+
#: list_cat_posts.php:103
|
123 |
+
msgid "Donate"
|
124 |
+
msgstr "Bağış yap"
|
125 |
+
|
126 |
+
#: list_cat_posts.php:104
|
127 |
+
msgid "Fork on Github"
|
128 |
+
msgstr "Github üzerinde incele"
|
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 from a category into 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, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
|
6 |
-
Version: 0.34
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
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 from a category into 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, and the number of posts to display. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2].
|
6 |
+
Version: 0.34.1
|
7 |
Author: Fernando Briano
|
8 |
Author URI: http://picandocodigo.net/
|
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: 3.7.1
|
7 |
-
Stable tag: 0.34
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -271,6 +271,10 @@ Template system has changed. Custom templates should be stored in WordPress them
|
|
271 |
|
272 |
== Changelog ==
|
273 |
|
|
|
|
|
|
|
|
|
274 |
= 0.34 =
|
275 |
|
276 |
* Now accepts either class or tag or both for styling elements (such as date, author, etc. to display). When just using a tag, it will sorround the element with that tag. When using just a class, it will wrap the element between span tags and the given CSS class. Check [Other notes](http://wordpress.org/extend/plugins/list-category-posts/other_notes/) under **HTML & CSS Customization** for more info.
|
4 |
Tags: list, categories, posts, cms
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.7.1
|
7 |
+
Stable tag: 0.34.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
271 |
|
272 |
== Changelog ==
|
273 |
|
274 |
+
= 0.34.1 =
|
275 |
+
|
276 |
+
* Bugfix (removed var_dump)
|
277 |
+
|
278 |
= 0.34 =
|
279 |
|
280 |
* Now accepts either class or tag or both for styling elements (such as date, author, etc. to display). When just using a tag, it will sorround the element with that tag. When using just a class, it will wrap the element between span tags and the given CSS class. Check [Other notes](http://wordpress.org/extend/plugins/list-category-posts/other_notes/) under **HTML & CSS Customization** for more info.
|
templates/default.php
CHANGED
@@ -90,4 +90,8 @@ foreach ($this->catlist->get_categories_posts() as $single):
|
|
90 |
endforeach;
|
91 |
|
92 |
$lcp_display_output .= '</ul>';
|
|
|
|
|
|
|
|
|
93 |
$this->lcp_output = $lcp_display_output;
|
90 |
endforeach;
|
91 |
|
92 |
$lcp_display_output .= '</ul>';
|
93 |
+
|
94 |
+
// If there's a "more link", show it:
|
95 |
+
$lcp_display_output .= $this->catlist->get_morelink();
|
96 |
+
|
97 |
$this->lcp_output = $lcp_display_output;
|