Version Description
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.1 to 1.2.2
- contextual-related-posts.php +2 -2
- readme.txt +1 -0
contextual-related-posts.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
-
Version: 1.2.
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
|
7 |
Author: Ajay D'Souza
|
@@ -48,7 +48,7 @@ function ald_crp() {
|
|
48 |
if ($crp_settings['exclude_pages']) $sql .= "AND post_type = 'post' ";
|
49 |
$sql .= "ORDER BY score DESC ";
|
50 |
|
51 |
-
$search_counter =
|
52 |
$searches = $wpdb->get_results($sql);
|
53 |
|
54 |
$output = '<div id="crp_related">';
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
+
Version: 1.2.2
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
Description: Show user defined number of contextually related posts. Based on the plugin by <a href="http://weblogtoolscollection.com">Mark Ghosh</a>. <a href="options-general.php?page=crp_options">Configure...</a>
|
7 |
Author: Ajay D'Souza
|
48 |
if ($crp_settings['exclude_pages']) $sql .= "AND post_type = 'post' ";
|
49 |
$sql .= "ORDER BY score DESC ";
|
50 |
|
51 |
+
$search_counter = 1;
|
52 |
$searches = $wpdb->get_results($sql);
|
53 |
|
54 |
$output = '<div id="crp_related">';
|
readme.txt
CHANGED
@@ -32,6 +32,7 @@ Now, you can choose to exclude posts from certain categories as well as exclude
|
|
32 |
|
33 |
= Changelog =
|
34 |
|
|
|
35 |
* 1.2.1 - Bug fixed to support PHP4
|
36 |
* 1.2
|
37 |
- Option to blank output in case nothing is found
|
32 |
|
33 |
= Changelog =
|
34 |
|
35 |
+
* 1.2.2 - Minor bug fixed about limit of posts
|
36 |
* 1.2.1 - Bug fixed to support PHP4
|
37 |
* 1.2
|
38 |
- Option to blank output in case nothing is found
|