Yes, I have a minor increase in the number of buttons.
If your structure is Category >> Section >> Content, leave stopButtonGenerationAt at 2.
This loop is used to delete the buttons before generating new ones.
It’s not super efficient, but just set this value to 21 since you told me you have a maximum of 21 elements.
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

