Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 5604 days ago
Is PrioCat abandoned?
Possibly abandoned (last update 5604 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
WordPress is a great CMS. But until now one critical function has been missing: You haven’t been able to sort each category.
But now you can – with this amazing plugin: PrioCat.
The plugin uses Custom Fields to sort the posts.
This plugin use Scriptaculous.
Installation
-
Upload the folder PrioCat to the
/wp-content/plugins/directory -
Activate the plugin through the ‘Plugins’ menu in WordPress
-
Place
if (is_category()): if($_REQUEST[cat]): $cat_id = $_REQUEST[cat]; else: $wp_terms = $wpdb->prefix . "terms"; $cat_id = single_cat_title("", false); $sql15 = $wpdb->get_results("SELECT term_id FROM $wp_terms WHERE name = '$cat_id' limit 1"); foreach($sql15 as $sql16) { $cat_id = $sql16->term_id; } endif; $cat_priot = "cat_priot_" . $cat_id; $posts = query_posts($query_string. '&orderby=meta_value_num&meta_key=' . $cat_priot . '&order=ASC' ); endif;in the template archive.php. Before get_header();. If you don’t have a archive.php, then place the code in the template index.php.
Frequently Asked Questions
Review feed
Screenshots
Changelog
0.1
- The first stable version of PrioCat.
0.2
- Updated PHP-code to the templates.
0.3
- Updated PHP-code in the admin and templates.