Version Description
- New: Select between CSS or HTML attributes for thumbnail width and height; Add author to posts; More options in the widget; More cache control; Check the Changelog for more information
=
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 1.8.9.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.9 to 1.8.9.1
- contextual-related-posts.php +2 -2
- languages/crp-fr_FR.mo +0 -0
- languages/crp-fr_FR.po +14 -13
- readme.txt +5 -1
- screenshot-5.png +0 -0
contextual-related-posts.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
-
Version: 1.8.9
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Displaying a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
|
7 |
Author: Ajay D'Souza
|
@@ -688,7 +688,7 @@ function crp_get_the_post_thumbnail($args = array()) {
|
|
688 |
}
|
689 |
}
|
690 |
}
|
691 |
-
if (!$postimage) $postimage =
|
692 |
if (!$postimage) $postimage = get_post_meta($result->ID, '_video_thumbnail', true); // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
|
693 |
if ($thumb_default_show && !$postimage) $postimage = $thumb_default; // If no thumb found and settings permit, use default thumb
|
694 |
if ($postimage) {
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
+
Version: 1.8.9.1
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Displaying a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
|
7 |
Author: Ajay D'Souza
|
688 |
}
|
689 |
}
|
690 |
}
|
691 |
+
if (!$postimage) $postimage = crp_get_first_image($result->ID); // Get the first image
|
692 |
if (!$postimage) $postimage = get_post_meta($result->ID, '_video_thumbnail', true); // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
|
693 |
if ($thumb_default_show && !$postimage) $postimage = $thumb_default; // If no thumb found and settings permit, use default thumb
|
694 |
if ($postimage) {
|
languages/crp-fr_FR.mo
CHANGED
Binary file
|
languages/crp-fr_FR.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-08-19 23:28-0000\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Olivier Copetto <olivier@copetto.com>\n"
|
9 |
"Language: fr\n"
|
@@ -113,13 +113,13 @@ msgstr ""
|
|
113 |
"titre"
|
114 |
|
115 |
#: admin.inc.php:221
|
116 |
-
#, fuzzy
|
117 |
msgid ""
|
118 |
"If unchecked, only posts titles are used. I recommend using a caching plugin "
|
119 |
"or enabling \"Cache output\" above if you enable this."
|
120 |
msgstr ""
|
121 |
-
"
|
122 |
-
"
|
|
|
123 |
|
124 |
#: admin.inc.php:224
|
125 |
msgid "List of post or page IDs to exclude from the results: "
|
@@ -218,9 +218,8 @@ msgid "Length of excerpt (in words): "
|
|
218 |
msgstr "Longueur de l'extrait (en mots) :"
|
219 |
|
220 |
#: admin.inc.php:289
|
221 |
-
#, fuzzy
|
222 |
msgid "Show post author in list?"
|
223 |
-
msgstr "Afficher
|
224 |
|
225 |
#: admin.inc.php:292
|
226 |
msgid "Show post date in list?"
|
@@ -301,18 +300,22 @@ msgstr "Hauteur maximale de la vignette :"
|
|
301 |
|
302 |
#: admin.inc.php:352
|
303 |
msgid "Style attributes / Width and Height HTML attributes:"
|
304 |
-
msgstr ""
|
305 |
|
306 |
#: admin.inc.php:356
|
307 |
msgid ""
|
308 |
"Style attributes are used for width and height. <code>style=\"max-width:"
|
309 |
msgstr ""
|
|
|
|
|
310 |
|
311 |
#: admin.inc.php:360
|
312 |
msgid ""
|
313 |
"HTML width and height attributes are used for width and height. <code>width="
|
314 |
"\""
|
315 |
msgstr ""
|
|
|
|
|
316 |
|
317 |
#: admin.inc.php:364
|
318 |
msgid "Use timthumb to generate thumbnails? "
|
@@ -396,7 +399,7 @@ msgstr ""
|
|
396 |
|
397 |
#: admin.inc.php:398
|
398 |
msgid "Feed options"
|
399 |
-
msgstr "Options RSS"
|
400 |
|
401 |
#: admin.inc.php:400
|
402 |
msgid ""
|
@@ -483,9 +486,8 @@ msgid " cached row(s) cleared"
|
|
483 |
msgstr "Ligne(s) en cache nettoyée(s)."
|
484 |
|
485 |
#: contextual-related-posts.php:123
|
486 |
-
#, fuzzy
|
487 |
msgid " Posted by "
|
488 |
-
msgstr "
|
489 |
|
490 |
#: contextual-related-posts.php:138
|
491 |
msgid "Powered by"
|
@@ -509,12 +511,11 @@ msgstr " Voir l'extrait ?"
|
|
509 |
|
510 |
#: contextual-related-posts.php:343
|
511 |
msgid " Show author?"
|
512 |
-
msgstr ""
|
513 |
|
514 |
#: contextual-related-posts.php:348
|
515 |
-
#, fuzzy
|
516 |
msgid " Show date?"
|
517 |
-
msgstr "
|
518 |
|
519 |
#: contextual-related-posts.php:352
|
520 |
msgid "Thumbnail options"
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2013-08-19 23:28-0000\n"
|
6 |
+
"PO-Revision-Date: 2013-08-20 22:30-0000\n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Olivier Copetto <olivier@copetto.com>\n"
|
9 |
"Language: fr\n"
|
113 |
"titre"
|
114 |
|
115 |
#: admin.inc.php:221
|
|
|
116 |
msgid ""
|
117 |
"If unchecked, only posts titles are used. I recommend using a caching plugin "
|
118 |
"or enabling \"Cache output\" above if you enable this."
|
119 |
msgstr ""
|
120 |
+
"Nous recommandons d'utiliser un plugin de mise en cache ou d'activer "
|
121 |
+
"l'option \"Cache de l'affichage\" ci-dessus. Si non cochée, les titres des "
|
122 |
+
"articles seront uniquement utilisés."
|
123 |
|
124 |
#: admin.inc.php:224
|
125 |
msgid "List of post or page IDs to exclude from the results: "
|
218 |
msgstr "Longueur de l'extrait (en mots) :"
|
219 |
|
220 |
#: admin.inc.php:289
|
|
|
221 |
msgid "Show post author in list?"
|
222 |
+
msgstr "Afficher les articles auteur dans la liste ?"
|
223 |
|
224 |
#: admin.inc.php:292
|
225 |
msgid "Show post date in list?"
|
300 |
|
301 |
#: admin.inc.php:352
|
302 |
msgid "Style attributes / Width and Height HTML attributes:"
|
303 |
+
msgstr "Attributs de style / attributs HTML width et height :"
|
304 |
|
305 |
#: admin.inc.php:356
|
306 |
msgid ""
|
307 |
"Style attributes are used for width and height. <code>style=\"max-width:"
|
308 |
msgstr ""
|
309 |
+
"Les attributs de style sont utilisés pour la largeur et la hauteur. "
|
310 |
+
"<code>style=\"max-width:"
|
311 |
|
312 |
#: admin.inc.php:360
|
313 |
msgid ""
|
314 |
"HTML width and height attributes are used for width and height. <code>width="
|
315 |
"\""
|
316 |
msgstr ""
|
317 |
+
"Les attributs HTML width et height sont utilisés pour la largeur et la "
|
318 |
+
"hauteur. <code>width=\""
|
319 |
|
320 |
#: admin.inc.php:364
|
321 |
msgid "Use timthumb to generate thumbnails? "
|
399 |
|
400 |
#: admin.inc.php:398
|
401 |
msgid "Feed options"
|
402 |
+
msgstr "Options Flux RSS"
|
403 |
|
404 |
#: admin.inc.php:400
|
405 |
msgid ""
|
486 |
msgstr "Ligne(s) en cache nettoyée(s)."
|
487 |
|
488 |
#: contextual-related-posts.php:123
|
|
|
489 |
msgid " Posted by "
|
490 |
+
msgstr " Publié par"
|
491 |
|
492 |
#: contextual-related-posts.php:138
|
493 |
msgid "Powered by"
|
511 |
|
512 |
#: contextual-related-posts.php:343
|
513 |
msgid " Show author?"
|
514 |
+
msgstr " Afficher l'auteur ?"
|
515 |
|
516 |
#: contextual-related-posts.php:348
|
|
|
517 |
msgid " Show date?"
|
518 |
+
msgstr " Afficher la date ?"
|
519 |
|
520 |
#: contextual-related-posts.php:352
|
521 |
msgid "Thumbnail options"
|
readme.txt
CHANGED
@@ -45,12 +45,15 @@ If you have been using this plugin and find this useful, do consider making a do
|
|
45 |
|
46 |
== Upgrade Notice ==
|
47 |
|
48 |
-
= 1.8.9 =
|
49 |
* New: Select between CSS or HTML attributes for thumbnail width and height; Add author to posts; More options in the widget; More cache control;
|
50 |
Check the Changelog for more information
|
51 |
|
52 |
== Changelog ==
|
53 |
|
|
|
|
|
|
|
54 |
= 1.8.9 =
|
55 |
* New: Option to choose between using CSS styles or HTML attributes for thumbnail width and height. *HTML width and height attributes are default*
|
56 |
* New: Filters `crp_title` and `crp_heading_title` can be used to customise the Title of the posts and Heading Title of posts list respectively. Check out the FAQ for further information
|
@@ -246,6 +249,7 @@ Check the Changelog for more information
|
|
246 |
2. CRP options in WP-Admin - Output options
|
247 |
3. CRP options in WP-Admin - Feed options
|
248 |
4. CRP options in WP-Admin - Custom styles
|
|
|
249 |
|
250 |
|
251 |
== Frequently Asked Questions ==
|
45 |
|
46 |
== Upgrade Notice ==
|
47 |
|
48 |
+
= 1.8.9.1 =
|
49 |
* New: Select between CSS or HTML attributes for thumbnail width and height; Add author to posts; More options in the widget; More cache control;
|
50 |
Check the Changelog for more information
|
51 |
|
52 |
== Changelog ==
|
53 |
|
54 |
+
= 1.8.9.1 =
|
55 |
+
* Fixed: PHP error when fetching thumbnail for gallery posts
|
56 |
+
|
57 |
= 1.8.9 =
|
58 |
* New: Option to choose between using CSS styles or HTML attributes for thumbnail width and height. *HTML width and height attributes are default*
|
59 |
* New: Filters `crp_title` and `crp_heading_title` can be used to customise the Title of the posts and Heading Title of posts list respectively. Check out the FAQ for further information
|
249 |
2. CRP options in WP-Admin - Output options
|
250 |
3. CRP options in WP-Admin - Feed options
|
251 |
4. CRP options in WP-Admin - Custom styles
|
252 |
+
5. CRP Widget
|
253 |
|
254 |
|
255 |
== Frequently Asked Questions ==
|
screenshot-5.png
ADDED
Binary file
|