I’m trying to build system, where user can add as many fields as he needs to the post. I’m using code from this thread. Everythings works fine, except I...
i want to make custom filed that contains facebook like count for the post url to get the likes i used this code function fb_count(){ $link = get_permalink($post->ID); $content...
This question already has answers here: Closed 9 years ago. Possible Duplicate: How to query posts based on lat-lng coordinate as post meta? I want to create a $wpdb...
I’m using Advanced Custom Fields and trying to create a field with the field type Repeater. But the problem is that the Repeater option doesn’t appear in the select...
Hi I’m trying to create a list of posts that have a common custom field value that are the same as the custom field value for the post they...
I made a custom search form with select boxes and text fields. I have a select box with options like “renting” and “selling” (its a real estate site) There...
I have a main parent page with multiple sub-pages. The main parent page has some custom fields (meta boxes?) with specific values. My intent is to add dynamically these...
QUESTION This is following a previous question that was graciously answered by Milo earlier here – How to sort CPT by custom meta value (date), and return posts month...
I read a tutorial about metaboxes, most of things are clear but I have a question about multiple metaboxes. My question is about saving, in the tutorial: <?php add_action(...
I have a custom post type called machine and a custom field ‘reference_number’ what I want is to add a default value to the custom field when creating a...