Changeset 726921
- Timestamp:
- 06/15/2013 01:43:23 PM (11 years ago)
- Location:
- a2z-alphabetical-archive-links
- Files:
-
- 4 added
- 3 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
a2z-alphabetical-archive-links/tags/1.0/css
-
Property
svn:ignore
set to
_notes
-
Property
svn:ignore
set to
-
a2z-alphabetical-archive-links/trunk/a2z-alphabetical-archive-links.php
r720131 r726921 79 79 80 80 function form( $instance ) { 81 $available_posts_types = get_post_types( array( 'public ' => true ) );81 $available_posts_types = get_post_types( array( 'public' => true ) ); 82 82 $exclude_pts = array( 'attachment' ); 83 83 $defaults = array( … … 127 127 $pt_initials = $wpdb->get_results( $querystr, ARRAY_A ); 128 128 $initial_arr = array(); 129 130 131 132 129 133 foreach( $pt_initials AS $pt_rec ) { 130 $link = add_query_arg( 'a2zaal', $pt_rec['initial'], get_post_type_archive_link( $instance['post_type'] ));134 $link = add_query_arg( 'a2zaal', $pt_rec['initial'], ); 131 135 if ( (bool) $instance['show_counts'] ) { 132 136 $item = '<li class="count"><a href="' . $link . '">' . $pt_rec['initial'] . '<span>' . $pt_rec['counts'] . '</span>' . '</a></li>'; -
a2z-alphabetical-archive-links/trunk/readme.txt
r721698 r726921 5 5 Requires at least: 3.3 6 6 Tested up to: 3.5.1 7 Stable tag: 1.0 7 Stable tag: 1.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 45 45 == Changelog == 46 46 47 48 49 50 51 47 52 = 1.0 = 48 53 Initial release … … 50 55 == Upgrade Notice == 51 56 57 58 59 60 52 61 = 1.0 = 53 62 Released
Note: See TracChangeset
for help on using the changeset viewer.