Support

Account

Home Forums General Issues Search form displaying "Post Object" field if ACF field matches

Unread

Search form displaying "Post Object" field if ACF field matches

  • Hi there !

    I will try to summarize as simply as possible my request.

    I have a custom post type (CPT) called “job”.
    This custom post type includes 3 fields :
    • The title (the native wordpress title field) / example : Webmaster
    • Secondary title (ACF custom field (type = textfield) called “secondary_title”.) / example : Front-end developer
    • Linked jobs (ACF custom field (type = Post Object) called “jobs_links”) / example : Web developer – Web designer (theses examples are “job” custom post page)

    I would like to create a custom wordpress search page/form who allows user to type the name of a job (including secondary title) and display the linked jobs as results.

    I tried many things with this ressource : https://www.advancedcustomfields.com/resources/query-posts-custom-fields/

    But i didn’t succeed to do it.

    Any advices are welcome !

    Thanks for reading me.

Viewing 1 post (of 1 total)

The topic ‘Search form displaying "Post Object" field if ACF field matches’ is closed to new replies.