هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Custom Category Templates

الوصف

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.

لقطات الشاشة

  • Assigning custom templates to categories

التنصيب

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

المراجعات

3 سبتمبر، 2016
Thanks for plugin. For WPML sites there will be problem, because of WPML bug https://wpml.org/forums/topic/category-templates-issue/ We resolved it by adding 11 priority in add_filter( 'category_template', array( $this, 'category_template' ), 11 );
إقرأ جميع المراجعات 6

المساهمون والمطوّرون

“Custom Category Templates” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Custom Category Templates“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

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