Archived topic
Duplicate button for the category in the content template
7 replies · Started by francesco on November 8, 2022
Hello, I have a problem that I cannot solve. as per the title, the categories in the content template are duplicated. I noticed that this only happens in articles where you select multiple categories.
p.s is there a way for only one of the selected categories to appear? example if there is an article with two different categories is there a way why if you only see one in the content?
Hi there,
i assume you only have one Category of that name ? Are there any Tags using it ?
yes, I only have one category with this name name. and no, I don't have any tags with that name.
Both dynamic options are enabled for the button block, can you disable one of them to test?
https://www.screencast.com/t/3GZeopz21sF
hi ying, i disabled this, i hope it does not matter which one I disable.
now it seems to work correctly. moving on to the other question, is it possible to make that only one category of the selected ones appears?
i hope it does not matter which one I disable.
It doesn't matter :)
is it possible to make that only one category of the selected ones appears?
Yes, but custom CSS is required.
then I'm afraid I'll do without CSS. I wanted to ask you one last thing if I can. does it make a difference to have a button (which doesn't even work as a button) or a headline to make the categories appear in the content template? I mean in terms of burdening the site. summing up i would like to know if headline would be lighter than a button.
does it make a difference to have a button (which doesn’t even work as a button) or a headline to make the categories appear in the content template?
The HTML structure would be slightly different, Button's structure is even simpler.
But I don't think there's a difference in terms of performance.