Custom Category Templates
Hassan Derakhshandeh By Hassan Derakhshandeh

March 03, 2016

Custom Category Templates Plugin

Define custom templates for category views.

Just like the way you can create custom page templates, this plugin enables you to build category archive templates by adding this bit to the top of your file:

<?php /** * Category Template: Grid */ ?> 

and when you’re adding or editing categories, you can choose the desired template file.

This plugin is maintained solely for backward compatibility. Try the new Custom Taxonomy Templates instead, it supports all taxonomies and also uses the new term meta feature in WP 4.4.

Installation

  1. Upload the whole plugin directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy!

Screenshots

  1. Assigning custom templates to categories

    Assigning custom templates to categories

Changelog

0.2.1

  • Fix PHP notices
  • i18n support

0.2

  • Implementation of new WP_Theme API
  • Fixed a bug concerning body class output. Thanks @Sith Lord Goz!
  • Added delete_option method

Details

  • Version: 0.2.1
  • Active installations: 2,000
  • WordPress Version: 3.4.0
  • Tested up to: 4.4.33

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars