Functional tags in Lay Theme
-
Hi! Thanks for making Lay Theme, I use it for both my own portfolio and one I'm making now for a client.
The theme has Tags, but they don't really work. You can't make a thumbnail grid as with Categories.
For a photographer I'm making a site for, I really need both categories and tags. Categories is used for genre, and tags for topics. I've solved this by adding Tags as categories, but the mix is a little bit dirty, because of permalinks and ease-of-use for the client. See the screenshot.Is it possible to apply the same functionality to tags as categories?
Best, Jørgen
-
-
@mariusjopen I now found out this is more of an issue than I thought, because I have used some category specific css to style a certain category different. But when I add the "tags" that are in fact categories, the selector doesn't work anymore.
Is there any ways to make this selector target something that contains 5, so that it would be active even though data-catid is something like {5, 10, 11} ?
body.type-project[data-catid="[5]"] -
It's also making the Project Arrows link incorrectly. In most cases it links within the actual category that was set first and that is in the permalink. In a few cases it links to the next in the same "tag".
-
-
I'll need to create tag functionality one day. right now its not possible.
The css selector, yea i need to give the body classes that can be selected with css, like category slugs.Not sure when I'll have time to work on this
-
hey so with the new update, projects will have body classes like category-1 category-2 where the number is the id of the category
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it