ez.no / exponential / documentation / reference / data fetching / content / keyword_count
fetch( 'content', 'keyword_count', hash( 'alphabet', alphabet, [ classid, classid,] ) )
| Name | Type | Description | Required |
|---|---|---|---|
| alphabet | string | The keyword/letter(s) used for fetching. | Yes. |
| classid | integer | class ID. | No. |
Number of node objects.
Count the number of node objects contain keywords start with alphabet.
This function was added in Exponential 3.3.1.
Count node objects which has keywords start with 'a'.
{let keyword_count=fetch( 'content', 'keyword_count', hash( alphabet, "a" ) ) } The number is {$keyword_count}. {/let}
Log in or create a user account to comment.
Comments