Hi there,
I need to setup select multiple fields for custom my filters, your plugin works very well for WP native select’s field but not activated on custom filters.
Is there any way to use it on my custom filters using select ?
Thanks in advance !
Hi there,
Can you please tell me if your plugin does the following:
It has a widget that shows a category filter in a drop down menu (or something similar) that allows us to shorten the amount of links below it because just posting all links in a widget takes up a lot of vertical space.
Then, it also displays category pages so i can hand out a link to each category and people can see & copy the links.
Thanks.
]]>Hi
If there are strings in your plugin that are also used in WordPress core (e.g. ‘Settings’), you should still add your own text domain to them, otherwise, they’ll become untranslated if the core string changes (which happens).
Please refer to official L10N guide from here.
The modified codes are the following:
posts-filter-multiselect.php
Line 339 to 340
'<li><a class="ui-multiselect-all" href="#"><span class="ui-icon ui-icon-check"></span><span><?php _e( 'Select all', 'posts-filter-multiselect' ); ?></span></a></li>' +
'<li><a class="ui-multiselect-none" href="#"><span class="ui-icon ui-icon-closethick"></span><span><?php _e( 'Deselect', 'posts-filter-multiselect' ); ?></span></a></li>' +
Line 607 to 608
checkAllText: '<?php _e( 'Select all', 'posts-filter-multiselect' ); ?>',
uncheckAllText: '<?php _e( 'Deselect', 'posts-filter-multiselect' ); ?>',
Line 698 to 699
'show_option_all' => __( $labels->all_items, 'posts-filter-multiselect' ),
'show_option_none' => __( $labels->no_terms, 'posts-filter-multiselect' ),
Line 709
echo '<label class="screen-reader-text" for="tag__in">' . __( 'Filter by tag', 'posts-filter-multiselect' ) . '</label>';
Line 747
$unknown_name = sprintf( __( '? Unknown %d', POSTS_FILTER_MULTISELECT_DOMAIN, 'posts-filter-multiselect' ), $author_id );
Line 769
$output = '<label class="screen-reader-text" for="author__in">' . esc_html( __( 'Filter by author', 'posts-filter-multiselect' ) ) . '</label>';
Line 771
$output .= "\t<option value=\"0\">" . esc_html( __( 'All Authors', POSTS_FILTER_MULTISELECT_DOMAIN, 'posts-filter-multiselect' ) ) . "</option>\n";
Line 815
$posts_columns['modified'] = __( 'Modified', POSTS_FILTER_MULTISELECT_DOMAIN, 'posts-filter-multiselect' );
Line 859
$datetime = mysql2date( __( 'Y/m/d g:i:s a', 'posts-filter-multiselect' ), $post->post_modified, false );
Line 863
$h_time = sprintf( __( '%s ago', 'posts-filter-multiselect' ), human_time_diff( $time ) );
Line 865
$h_time = mysql2date( __( 'Y/m/d', 'posts-filter-multiselect' ), $post->post_modified );
Status filter?
]]>