Skip to content

How can i create a field for the post, that have a few categories?  #49

Open
@seriiserii825

Description

@seriiserii825

I use the version 3.0.
I write
->where( 'post_term', '=', array( 'field' => 'slug', 'value' => 'ambulance', 'taxonomy' => 'category', ) )
and i get a error.
After i clear, and write
->show_on_category('ambulance')
and it works, but why?

That this setting is for version 1.6.

And my main question.
How to create a field for the post, that have multiple categories?
Thanks.

And please, give me the link to the docs, where you find solution.
Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions