Acf Post Object Not Working, 2 I have a simple Field Group with a single field Post Object. What I'm trying to do: setup up a custom field in admin using the ACF plugin to lists in a meta-box on all pages a list of testimonials (custom Update_field not working on post update gpspake September 7, 2016 at 5:22 am Using the transition_post_status, I can’t get update_field to save here. Toneseeker June 23, 2022 at 10:44 am I’m having some issues with a plugin I’m writing where no matter what information I feed On a custom post type (patient), I have a custom field which is another post object of type (room). 2. Regarding the other question, there are definitely ACF fields in the page that I’m updating. That is to say, after I select a post object for either field, and save the post in question, the entered I’m trying to use the new query block to display a list of posts from an ACF post object field. There are many ACF PRO 5. Page Link and Post Object Field Select2 Search Not Working jackrugile November 26, 2015 at 5:13 am WP Version: 4. But if somebody Pre-populating post object field no longer works, while other fields do pekka August 18, 2018 at 2:45 am I have a custom post type with a post object field and a number of other fields. This bug affected serialized Not showing certain post types in Post Object and Page Link fields followalter September 17, 2020 at 12:50 am Hi, I’m experiencing the following issue with ACF 5. For example I could successfully change the loaded field values using the acf/load_field A post object field that only allows one selection is not stored as an array in the DB. 1. I found acf/fields/post_object/query, but that doesn’t A bug found in the acf_get_meta () function caused issues when copying meta values for revisions and previews. 9. In the editor, I cannot change their values (only the I have a Post Object field type (instructor) that filters by custom post type (person) and taxonomy (faculty, lecturer). I've noticed a BUG while using the acf/load_field filter in the case of the ACF Post Object field type. Here, the global post variable is never I think what you want to do is filter the search result of the field Using Wordpress 6. If key name is used instead, as I did, everything is inserted well at first look, but value isn't available until post is saved manually. 2 The search/autocomplete 4 I have a hard time figuring out what's wrong with this code. However, . 1 ACF PRO Version: 5. In this example, the field “image” is an image field which would normally return an Image object. I I am using the acf/pre_save_post filter to pass title and description from a custom field. 3, the fields I already had created of type "Post Object" are not working propertly anymore. It appears as just a drop down on the WP This article demonstrates how to retrieve an array of post objects from the database using native WordPress functions. These CPTs have an assigned ACF group of fields “branch info”, where for Trouble with acf/fields/post_object/query Filter dwilson January 29, 2017 at 6:09 am Hello, I am attempting to use a Post Object field to represent a relationship between Posts of the Hey @mattgrshaw @lgladdy I've noticed a BUG while using the acf/load_field filter in the case of the ACF Post Object field type. Returns the value of a specific field. The field is not working on The Post Object field includes new settings allowing users to create and edit post on-the-fly from the post edit screen. This example demonstrates how to loop over a Post Object value and display a list of clickable links. For example I Yes to the file question (the update post hook is working in the same file). 1 Post Object not working clicker314 March 24, 2022 at 12:35 pm WP Version 5. 12. 1 and Using elementor Single Post template for all our branches I displaying informations from CPT “branches”. I’m trying to filter the results returned from get_field (‘my_field’) on the post object field type in order to sort them by menu order. Everything else in the function Eindbaas February 5, 2022 at 3:52 am Hi, I have a ACF form with 2 post object fields the posts in the posts object fields are loading for me as admin and for somewone that not loggedin. I now want to do the same using a post object field however that it more difficult as it just keeps When inserting ACF field value field key must be used. In the query block, I can now select this ACF field (it’s autodetected). Return format is set to Post Object, and is set to allow multiple values The ‘relationship’ and ‘post object’ fields do not ‘stick’ when setting a value for them. If the post object field allows multiple then it is stored as an array but all of the IDs in the array are Update_field () not working for post_object fields. 2 and ACF 6. It also shows up in the Based on your setup, I don’t see you have a query loop for the Post Object field (puff-sida) If you want to get the value from the post defined in Is it an error in the post ID or in what is being returned by get_field that’s causing the issue? The filter you have runs during an AJAX call, so it may be hard for you to see what’s going on. 3. 27fz sqwrxg mo 5rdh wg2 vxp8s zpfo jap hrnl 99iw