Search found 2 matches

by wisigerno
Sat Oct 05, 2019 5:18 pm
Forum: General
Topic: [solved] Add explanation text to categories
Replies: 2
Views: 843

Re: Add explanation text to categories

In fact, they do. I was able to do something like this: <?php $items = getCategories(); foreach ($items as $category) { if (count($category->pages())>0) { echo '<button class="btn btn-light btn-lg btn-block mb-3 text-left" data-toggle="collapse" href="#' . $category->key() . '" role="button" aria-ex...
by wisigerno
Fri Oct 04, 2019 5:39 pm
Forum: General
Topic: [solved] Add explanation text to categories
Replies: 2
Views: 843

[solved] Add explanation text to categories

Hi everyone, I have a client who wishes to add some explanatory remarks to his categories. I envision this to be solved with bootstrap (like this https://getbootstrap.com/docs/4.0/components/collapse/#accordion-example ). The following example should clarify what I mean: + General - Music What music...