Relative Content

Tag Archive for wordpressadvanced-custom-fields

Populate form with custom data Ws-Form

In wordpress I have a custom post type called ‘break’. In that post type there are an ACF repeater field ‘kort’ with a sub field ‘spiller’.

Populate form with custom data Ws-Form

In wordpress I have a custom post type called ‘break’. In that post type there are an ACF repeater field ‘kort’ with a sub field ‘spiller’.

Save all posts as if saving manually in wp editor

I have a problem, I am with a new project and I have an acf select field called “operation”, in the frontend it looks like a list of options of a select.
I have done several tests to see how it works and I have noticed that every time I delete it (field “operation”) and I generate it again with the same name, it stops being seen in the frontend and the only way to display it again is to save by hand one by one the posts that have that field, with 20 or 30 post there is no problem, but when someone inserts 10000 post the thing gets very serious and having to update by hand 10000 post is unfeasible.
I have tried sql queries that update to the current date, php from the hooks init and save_post and nothing works.
It must be the way wordpress saves the posts manually from the button that there is no way to replicate it.
Best regards and thank you very much.

How Can I use ACF Form in a shortcode?

I’m new to using ACF form and trying to create a form for users to submit a post using a shortcode. I don’t particularly want to use a page template. The fields are an image field and 5 text fields. I am trying to display a success message once the form is submitted but I keep running into problems no matter what I try.

NEW post type needed but with a taxonomy with a certain value with Advance Custom fields in wordpress

We are working on a real estate page and we need a new post type in WP that are only active listings that are ours. So far we have set up taxonomies from a previous dev and there is a property_ours and a status. Status is a list of strings: active, sold, under contract. These were made years ago by another Dev. The client would like a type that is property_ours and status (if it is active). I’m not sure how to look for the key value on status when making a new Post Type it just lets us add different taxonomies. Is there a way to create a taxonomy that is only status=’Active’ AND property_ours? I’m very unfamiliar with manipulating data w/in wordpress. Thanks

Displaying that have a common value in ACF field

The website sells sheet music publications. It has a number of ACF fields, one is named Series and all publications in the same series will have the same value in this field. On the Single Product Page template I’ve placed a short code (though eventually I want that to be in a button) that takes the value from the Series field and then displays the titles of all posts that have the same value. The code I have for this is below but doesn’t display the information required.