Link Library - Version 7.3.5

Version Description

  • Additional fixes for featured item sorting
Download this release

Release Info

Developer jackdewey
Plugin Icon 128x128 Link Library
Version 7.3.5
Comparing to
See all releases

Code changes from version 7.3.4 to 7.3.5

Files changed (3) hide show
  1. link-library.php +1 -1
  2. readme.txt +6 -1
  3. render-link-library-sc.php +2 -4
link-library.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
- Version: 7.3.4
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
+ Version: 7.3.5
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://ylefebvre.github.io/wordpress-plugins/link-library/
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
  Tested up to: 5.9
7
- Stable tag: 7.3.4
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
@@ -12,6 +12,8 @@ The purpose of this plugin is to add the ability to output a list of link catego
12
 
13
  This plugin is used to be able to create a page on your web site that will contain a list of all of the link categories that you have defined inside of the Links section of the Wordpress administration, along with all links defined in these categories. The user can select a sub-set of categories to be displayed or not displayed. Link Library also offers a mode where only one category is shown at a time, using AJAX or HTML Get queries to load other categories based on user input. It can display a search box and find results based on queries. It can also display a form to accept user submissions and allow the site administrator to moderate them before listing the new entries. Finally, it can generate an RSS feed for your link collection so that people can be aware of additions to your link library.
14
 
 
 
15
  For links that carry RSS feed information, Link Library can display a preview of the latest feed items inline with the all links or in a separate preview window.
16
 
17
  This plugin uses the filter method to add contents to the pages. It also contains a configuration page under the admin tools to be able to configure all outputs. This page allows for an unlimited number of different configurations to be created to display links on different pages of a Wordpress site.
@@ -48,6 +50,9 @@ Further configuration is available under the Link Library Settings panel.
48
 
49
  == Changelog ==
50
 
 
 
 
51
  = 7.3.4 =
52
  * Fixed problem with quotes getting escaped in library-specific stylesheet editor
53
 
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
  Tested up to: 5.9
7
+ Stable tag: 7.3.5
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
12
 
13
  This plugin is used to be able to create a page on your web site that will contain a list of all of the link categories that you have defined inside of the Links section of the Wordpress administration, along with all links defined in these categories. The user can select a sub-set of categories to be displayed or not displayed. Link Library also offers a mode where only one category is shown at a time, using AJAX or HTML Get queries to load other categories based on user input. It can display a search box and find results based on queries. It can also display a form to accept user submissions and allow the site administrator to moderate them before listing the new entries. Finally, it can generate an RSS feed for your link collection so that people can be aware of additions to your link library.
14
 
15
+ You can try it out in a temporary copy of WordPress [here](https://demo.tastewp.com/link-library)
16
+
17
  For links that carry RSS feed information, Link Library can display a preview of the latest feed items inline with the all links or in a separate preview window.
18
 
19
  This plugin uses the filter method to add contents to the pages. It also contains a configuration page under the admin tools to be able to configure all outputs. This page allows for an unlimited number of different configurations to be created to display links on different pages of a Wordpress site.
50
 
51
  == Changelog ==
52
 
53
+ = 7.3.5 =
54
+ * Additional fixes for featured item sorting
55
+
56
  = 7.3.4 =
57
  * Fixed problem with quotes getting escaped in library-specific stylesheet editor
58
 
render-link-library-sc.php CHANGED
@@ -925,16 +925,14 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
925
  }
926
 
927
  if ( 'name' == $linkorder ) {
928
- $link_query_args['orderby'] = 'title';
929
- $link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
930
  } elseif ( 'id' == $linkorder ) {
931
  $link_query_args['orderby']['ID'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
932
  } elseif ( 'date' == $linkorder ) {
933
  $link_query_args['meta_query']['link_updated_clause'] = array( 'key' => 'link_updated' );
934
  $link_query_args['orderby']['link_updated_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
935
  } elseif ( 'pubdate' == $linkorder ) {
936
- $link_query_args['orderby'] = 'publish_date';
937
- $link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
938
  } elseif ( 'price' == $linkorder ) {
939
  $link_query_args['meta_query']['link_price_clause'] = array( 'key' => 'link_price' );
940
  $link_query_args['orderby']['link_price_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
925
  }
926
 
927
  if ( 'name' == $linkorder ) {
928
+ $link_query_args['orderby']['title'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
 
929
  } elseif ( 'id' == $linkorder ) {
930
  $link_query_args['orderby']['ID'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
931
  } elseif ( 'date' == $linkorder ) {
932
  $link_query_args['meta_query']['link_updated_clause'] = array( 'key' => 'link_updated' );
933
  $link_query_args['orderby']['link_updated_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
934
  } elseif ( 'pubdate' == $linkorder ) {
935
+ $link_query_args['orderby']['publish_date'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
 
936
  } elseif ( 'price' == $linkorder ) {
937
  $link_query_args['meta_query']['link_price_clause'] = array( 'key' => 'link_price' );
938
  $link_query_args['orderby']['link_price_clause'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';