by wp-admin | Aug 6, 2015 | blg, Wordpress |
function restrict_books_by_assessment() { global $typenow; $post_type = 'assessment'; // change HERE $taxonomy = 'it-assessment'; // change HERE if ($typenow == $post_type) { $selected = isset($_GET[$taxonomy]) ? $_GET[$taxonomy] : ''; $info_taxonomy = get_taxonomy($taxonomy); wp_dropdown_categories(array( 'show_option_all' => __("Show All {$info_taxonomy->label}"), 'taxonomy' => $taxonomy, 'name' => $taxonomy, 'orderby' => 'name', 'selected' => $selected, 'show_count' => true, 'hide_empty' => true, )); }; } add_action('restrict_manage_posts', 'restrict_books_by_assessment'); function convert_id_to_assessment_in_query($query) { global $pagenow; $post_type = 'assessment'; // change HERE $taxonomy = 'it-assessment'; // change HERE $q_vars = &$query->query_vars; if ($pagenow == 'edit.php' && isset($q_vars['post_type']) && $q_vars['post_type'] == $post_type && isset($q_vars[$taxonomy]) && is_numeric($q_vars[$taxonomy]) && $q_vars[$taxonomy] != 0) { $term = get_term_by('id', $q_vars[$taxonomy], $taxonomy); $q_vars[$taxonomy] = $term->slug; } } add_filter('parse_query',...
by wp-admin | Dec 12, 2014 | WordPress Plugins |
This plugin won’t allow payment until the admin approves the order.
by wp-admin | Dec 11, 2014 | WordPress Plugins |
This plugin is used to Add a Text or Image watermark to your uploaded images.
by wp-admin | Nov 19, 2014 | WordPress Plugins |
This plugin displays recent profile visitors and also shows who are visiting more often. Download here:...
by wp-admin | Oct 21, 2014 | Linux |
Just follow following procedure, >> isohybrid lxle-12045-32.iso it returns following warnings: isohybrid: Warning: more than 1024 cylinders: 1279 isohybrid: Not all BIOSes will be able to boot this device Then wrote the usb key with: sudo dd if=lxle-12045-32.iso of=/dev/sdb bs=4M...