Index: readme.txt
===================================================================
--- readme.txt (revision 102146)
+++ readme.txt (working copy)
@@ -4,7 +4,7 @@
Tags: directory,links,directory links,business directory
Requires at least: 2.7
Tested up to: 2.7
-Stable tag: 1.5.0
+Stable tag: 1.5.1
Add a Business Directory or Directory of Links in different categories and pages. Show website thumbnails of Links with Url's.
Index: wp-directory-link-html.php
===================================================================
--- wp-directory-link-html.php (revision 101998)
+++ wp-directory-link-html.php (working copy)
@@ -9,7 +9,7 @@
* File Information: *
* - Configure Directory Options *
* - wp-content/plugins/wp-directory-list/wp-directory-link-html.php *
-* - Version 2.1.0 *
+* - Version 2.1.1 *
* *
***********************************************************************/
@@ -87,8 +87,10 @@
}
if(get_option('create_link_thumbs') && $links->url){
- $stwimg = 'id;
@@ -111,9 +113,14 @@
}
$stwimg .= '" rel="bookmark" title="'. $links->title;
$stwimg .='">';
+ }else{
+
+ $stwimg = '';
+
+ }
}else{
$stwimg = '';
Index: wp-directory-list.php
===================================================================
--- wp-directory-list.php (revision 102146)
+++ wp-directory-list.php (working copy)
@@ -4,7 +4,7 @@
Plugin Name: Wp-Directory-List
Plugin URI: http://themoneymakingwebsite.com/wp-directory-list/
Description: Add a directory listing to your blog.
-Version: 1.5.0
+Version: 1.5.1
Author: Billie Kennedy Jr
Author URI: http://themoneymakingwebsite.com
*/
@@ -30,7 +30,7 @@
require_once(ABSPATH .'wp-includes/pluggable.php');
// declare the current version
-$wp_directory_list_db_version = "1.5.0";
+$wp_directory_list_db_version = "1.5.1";
$wp_directory_table = $wpdb->prefix .'directory_links';
$wp_directory_table2 = $wpdb->prefix .'directory_link_cats';
@@ -95,7 +95,7 @@
if(isset($atts['order']) && isset($atts['orderby'])){
- $sql .= $atts['order'];
+ $sql .= ' '.$atts['order'];
}
@@ -109,6 +109,7 @@
//$directory = $parent.$directory;
//echo get_option('blogurl');
//echo here;
+ $content .= $sql;
$content .= $directory ;
return $content;
@@ -265,6 +266,11 @@