Description
mywp_term
shortcode can be get the specific term.
Usage
This shortcode must be term id and “field” attribute is must have a value.
[[mywp_term term_id="*" field="****"]]
Attributes
field=”id“
Get the term ID.
[[mywp_term term_id="1" field="id"]]
Result
1
field=”name“
Get the term name.
[[mywp_term term_id="1" field="name"]]
Result
Uncategorized
field=”slug“
Get the term slug.
[[mywp_term term_id="1" field="slug"]]
Result
uncategorized
field=”link“
Get the term link.
[[mywp_term term_id="1" field="link"]]
Result
https://example.com/taxonomy/term
term_id=”****“
Get the specific term data.
[[mywp_term term_id="1"]]
This Post Has 0 Comments