This great answer by David Gard allowed me to have a metabox sticky (checkbox) for posts that could only be set (checked) on one posts in the loop at a time. If post A has that meta box checked, then ...

I am trying to add some content to the post-meta. I have added two link to the loop and it's been showing in the post as the single page is calling it. However I can't seem to find where to add the ...

I am using the ACF Relationship field to set up a many-to-many relationship between two custom post types (one can add many Outlets to a Product).
The relationship works well, but I would like to add ...

I have added a select box in the Post meta. Here is the code, and it works fine. My question is, do I need to sanitize the values before updating the post meta? If yes, how it should be done?
This is ...

I am building a function in wordpress that reads an XML file and imports 100-500 events as a post type to wordpress. The events have a lot of meta data that is saved as post meta. One of the meta data ...

I'm trying to get the meta info by key rw_related_link for each post but my code is wrong since instead get the ones related to the current post I got the same in all post and that's wrong. This is ...

Context:
A multiple custom posts and custom fields website. Since the website is rather complex, has a lot of users, a lot of editors and a lot of data, they asked to be able to choose which custom ...

I'm trying to fetch all the posts from today to next week by using some custom fields inside posts, using Advanced Custom Fields.
Everything was working until now, because it doesn't show posts from ...

Say I have an acf called "show_this_tomorrow" every day (in a new post) I put some data into the field. And I want to show that data output on the next days post. I was thinking I'd use this to grab ...

I need to put a post meta information to the URL:
www.website.com/custom-taxonomy/postname-[metainfo]
How to change the rewrite rules, that the content of this meta information is added to the URL?
...

I have currently added a custom meta field for uploading a media file (image). I can successfully add the upload button to display and work but I'm having problems saving the field when updating the ...

I'm going to get several fields from wp_query result. I know about wp_list_pluck() function, but it accepts only one field paramether. How to get several ones if I'd like to take several parameters ...

I am going to implement a Hot and Trending section on a website. I have seen such sections on many popular websites but can't really figure out how exactly this works.
Although I assumed Hot section ...

I have two separate installations of WP on two servers. They're both the exact same website. In my CPT's meta, I have a field that's a very long piece of serialized data. On one server the full data ...

I am trying to create an editor meta box and I have been following tips found in other similar questions without luck in getting the meta box to save and display its content. The meta box shows but ...

I registered a custom post type ("movie") with tags and categories. Now, I'm able to filter and search for the custom post with these tags and categories, so I know they're present and working, but ...

A client has requested to use a relationship field to select contacts associated with the post. They have also requested that these posts be searchable by the contact information.
The problem is, I'm ...

I cant figure it out how to resize meta box . I did try to add something like rows="5" cols="60" but no luck. With width and height box resizes but when text fills the box it continues to the right it ...

I am using regular expression to refine the post it works fine but i want change it such that it can work with meta query instead of post title
here is my code
function wpse18704_posts_group( $where, ...

I have a custom button which triggers my page builder to load on the post.php page upon clicking it. However, I want to send a variable as well with it.
Here's what I tried
$('#post').attr('action', ...