3
votes
How to give categories open/closed status?
Custom category field?
Which defaults to open:
Then your template code:
{exp:gwcode_categories channel="example" depth="1" custom_fields="yes" linear="yes"}
{if cat_status == "Open"}{cat_name}{/...
- 5,353
1
vote
Nested Tags Performance Improvements?
Looping through categories and outputting entries within is an inherently "expensive" process. Someone will likely pipe in here with an answer that uses Stash to optimize this, but I'd suggest two ...
- 17.4k
1
vote
Right way to list entries within a category (that's specified within a URL)
I may be missing something here but this seems really straightforward. The following EE code would display all entries in the myexamplecategory category:
{exp:channel:entries channel="walks" ...
- 1,647
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gwcode-categories × 55categories × 41
stash × 6
child-categories × 5
search × 3
entryid × 3
expresso-store × 2
ee2 × 2
supersearch × 2
parse-order × 2
entry × 2
filter × 2
category-group × 2
children × 2
nested-list × 2
channel-entries × 1
solspace × 1
safecracker × 1
playa × 1
relationships × 1
conditionals × 1
php × 1
structure × 1
low-search × 1
url × 1