Plugin

EE 1
EE 2
EE2 Child Categories

Developer

Nico De Gols

3rd Party (Free)

Creative Commons Attribution Share Alike Download

Compatibility

Requirements

  • jQuery for the Control Panel

Tags

This is an EE2 port of the Child categories plugin which displays child categories of a certain category. This version also supports automatic display of child categories of the current category page.

EXAMPLE OF USAGE:

  {exp:child_categories dynamic_detect_channel="news" site="1"}
     {child_category_start}
          <h2><a href="{homepage}/category/{child_category_url_title}/">{child_category_name}</a></h2>
         Total entries: {entries_total}<br>
     {child_category_end}
  {/exp:child_categories}
  
  {exp:child_categories parent="18|29" child_categories_sort_by="custom" child_categories_sort_direction="asc" show_empty="yes" entries_sort_by="date" entries_sort_direction="asc" entries_limit="3" site="1"}
  {parent_category_start}
  
  <h1><a href="{homepage}/category/{parent_category_url_title}/">{parent_category_name}</a></h1>
  {parent_category_end}
  {child_category_start}
  <h2><a href="{homepage}/category/{child_category_url_title}/">{child_category_name}</a></h2>
  Total entries: {entries_total}<br>
  {child_category_end}
  {entries_wrapper_top_start}< div style="border: 1px solid red;" >{entries_wrapper_top_end}
  {entries_start}
  <a href="{channel_url}{url_title}">{title}</a> channel: {channel_name}, posted: {entry_date}<br>
  {entries_end}
  {entries_wrapper_bottom_start}< /div >{entries_wrapper_bottom_end}
  {/exp:child_categories}

Download EE2 Child Categories

EE Version Downloads Add-On Version Release Date
2.+ Download

EE2 Child Categories Links

This entry was last updated October 7, 2010, 5:43 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

2 Reviews:

Simpixelated 01.17.11

Rating - {addon_rating_average}

After an entire day of pulling my hair out trying to use the query module, this was doing exactly what I wanted in under 20 minutes.

Kristof Rutten 11.11.10

Kristof Rutten
Rating - {addon_rating_average}

An excellent help when using categories as menu items. Customizable sort and display options. A must have!