Skip to content

Latest commit

 

History

History
executable file
·
39 lines (23 loc) · 555 Bytes

File metadata and controls

executable file
·
39 lines (23 loc) · 555 Bytes

<Category>

Node > Term > Category

Alias of <term> for creating terms for the 'category' taxonomy.

For example, writing:

<category>Example Category</category>

Is the same as writing:

<term taxonomy='category' >Example Category</term>

Attributes

taxonomy : 'category'

Examples

Assigning categories to a post:

<post>

    <title>Hello, World!</title>

    This is my first post!

    <category>Category A</category>
    <category>Category B</category>

</post>