Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 189

Categories are taxonomies for your entries, users, and assets.

3 votes
1 answer
55 views

Have some categories NOT linked to a category entry

I've set-up a list of categories for the types of work they cover. However, they DON'T want all of the categories to actually link to an entry. …
Martin's user avatar
  • 1,203
6 votes
2 answers
3k views

Showing just the child category titles of a parent

I have a category group with parents each with 1 level of children. On my category entry page I want to list JUST the children of the current category being viewed. I'm sure it's simple but I can't …
Martin's user avatar
  • 1,203
3 votes
1 answer
342 views

List Categories AND their associated entries

visitor lands on the 'Gallery' page they see a 'grid' of latest photos (this is a question which might appear here later), with a navigation on the side which allows them to browse the other galleries (categories … So, how do I list out the categories and associated entries for this navigation? …
Martin's user avatar
  • 1,203
3 votes
1 answer
160 views

Showing entries within a category

I have a list of people with skills defined by a category group. I have a category field within the 'people' Section so when a new person (entry) is created, the category field allows the admin to as …
Martin's user avatar
  • 1,203
2 votes
1 answer
2k views

Craft Commerce Categories and Product Types

I've just started using craft Commerce. What's the accepted way to categorise products? For example, i’m trying to replicate this structure: Bags and Scarves (shows all products in this category) …
Martin's user avatar
  • 1,203
1 vote
1 answer
333 views

Get the category into the url of the product page

adding shop/{categories.first().slug}/{slug} to the URL Format but I get the following error: Internal Server Error Craft\Commerce_ProductModel and its behaviors do not have a method or closure named "categories
Martin's user avatar
  • 1,203
1 vote
1 answer
68 views

Display related entries on a category page filtered by another category field

Fuel Type categories = ''Wood Burning','Multi-Fuel','Gas' and 'Electric'. … Output categories = '4kW','6kW','8kW','10kW', On the category page template the following simple code gives me the correct entries based on the 'fuelType' field... …
Martin's user avatar
  • 1,203
2 votes
2 answers
437 views

Showing specific category content as well as ALL

I have a photography website with just two categories, 'Lifestyle' and 'Food'. … I have two problems: How to display the content I have a category group called 'photoCategories' to which I have assigned two categories 'Lifestyle' and 'Food'. …
Martin's user avatar
  • 1,203
1 vote
1 answer
29 views

Show Category Title only where an entry has been included in an Entries field

An Entry can be assigned to multiple categories. On the Entry page I want to be able to loop through the categories and only list those where the entry has been included. … There are six categories vs 20 or 30 entries so doing it the other way (assigning a category to the entry) would be cumbersome for end user editing if a new category is added. …
Martin's user avatar
  • 1,203
3 votes
2 answers
772 views

Loading related entries by category using a select menu

I have a list of people (entries) who are related to Categories. …
Martin's user avatar
  • 1,203
4 votes
1 answer
2k views

How to display the title of a category based on its ID?

I’m passing the ID of a category to a template via a catId query string (i.e. http://example.com/some/path?catId=10). How do I display the title of that category?
Martin's user avatar
  • 1,203
5 votes
2 answers
2k views

Get the Category name into the URL for an entry

I have a gallery which is categorised. The gallery is a Structure section where the user adds an entry and then assigns it to a category - all good. At the moment, when clicking on an entry title the …
Martin's user avatar
  • 1,203