WP Query to List all entries from a custom field
Budget: £10 – £15 GBP
I am relative new to PHP and WordPress, and currently struggling with a simple task. So I am looking for some more experience help to retrieve an array of post objects from the WordPress database using native WP functions.
My end goal is to List all entries from a Advanced Custom Field. For example, I have ACF Fields setup by Post Type for WooCommerce Products, and each Product has a unique Value, such as a Product Brochure. I want to retrieve all entries in this field for only products which are currently in stock, and create a list of hyperlinks by using a Shortcode.
I understand that ACF values are saved in the “wp_postmeta” table. So, this task can be achieved with a simple WP’s query. ACF Documention here ->
https://www.advancedcustomfields.com/resources/query-posts-custom-fields/
I have attached my latest attempt to this description, and I believe what I am uncertain about most is whether comparison operators are required in the query and what the best practice is to configure the output for a Shortcode.
I just need a little help to finish this task, and I don't believe it's a lot of work. If you're able to help, please bid a proposal and comment 'SHORTCODE' below so that I know you're genuine and have read all this task description.
Thank You
My end goal is to List all entries from a Advanced Custom Field. For example, I have ACF Fields setup by Post Type for WooCommerce Products, and each Product has a unique Value, such as a Product Brochure. I want to retrieve all entries in this field for only products which are currently in stock, and create a list of hyperlinks by using a Shortcode.
I understand that ACF values are saved in the “wp_postmeta” table. So, this task can be achieved with a simple WP’s query. ACF Documention here ->
https://www.advancedcustomfields.com/resources/query-posts-custom-fields/
I have attached my latest attempt to this description, and I believe what I am uncertain about most is whether comparison operators are required in the query and what the best practice is to configure the output for a Shortcode.
I just need a little help to finish this task, and I don't believe it's a lot of work. If you're able to help, please bid a proposal and comment 'SHORTCODE' below so that I know you're genuine and have read all this task description.
Thank You