0
votes
1answer
13 views

Need to have an archive widget which organizes and displays a custom post type using a custom date field

I found a handy plugin at http://www.redletterdesign.net/wp/cpt-archive/index.php for generating a calendar archive using a custom post type. My problem is I need it to organize these posts not by the ...
0
votes
1answer
34 views

Let users upload image(s) to the post from front end

I want to enable logged in users (Wordpress) to submit posts from front end (among with other data). My form is working great, I add custom post meta data which I later display on custom post page. ...
1
vote
0answers
30 views

Ajax form filter post by custom fields [closed]

I'm currently working on a site where users can search for apartments. I have a custom post type for the apartment posts, which contain several custom fields. I have a page where i list all of the ...
1
vote
1answer
44 views

How to Output which matched meta_keys were found from custom_type_posts?

In WordPress on the single-player.php page which displays a single profile (from numerous other profiles) with information from around 10 different meta fields. Without using tags or categories.. ...
0
votes
1answer
34 views

Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu

First of all, my problem is very similar to this one: http://stackoverflow.com/questions/10629245/wordpress-menu-disappears-when-query-query-varsmeta-key-is-set However, the answer accepted for this ...
0
votes
2answers
50 views

Custom field totals

I have tried searching everywhere for this and although there are some discussions about adding the total to the frontend, there is nothing about the admin side. I have a custom post type that has ...
0
votes
0answers
36 views

custom taxonomies are not showing up in get_taxonomies

I've made several taxonomies through the custom post type ui manager but i am not able to call them with get_taxonomies and my get_terms is not working either. Is there something I have to do after ...
0
votes
1answer
80 views

WP_Query and two custom fields returns no posts

Having trouble with WP_Query returning no posts when filtering on two custom fields, although testing for each custom field individually works perfectly. After reviewing documentation for custom field ...
0
votes
0answers
19 views

Cannot save post meta data as Administrator in Wordpress

I have an wordpress installation at yogazoga.com with several custom post types. When i try to add meta data to posts through admin panel it simply does not work. See the post at: ...
0
votes
1answer
14 views

Forms with multiple element types using custom post types

I am building a forms component and am looking for the following functionality. Each form would have multiple questions and multiple question types ( like text boxes, radio buttons, selection drop ...
0
votes
0answers
65 views

Displaying database table in backend of wordpress

So basically I'm working on a job website for a client where they post jobs and users can apply for these jobs with a form that writes to the database with their inputed information.. I have set up a ...
0
votes
0answers
35 views

Image MetaBox not saving in custom posts

I'm trying to create a meta box that will let me upload image in a custom post. Everything is working almost fine but... It doesn't save any data -.-' I can't figure what I'm doing wrong. Could you ...
0
votes
0answers
40 views

Archive Page - How to output a specific custom field instead of post content

I have several custom post types and I am using archive.php and it works fine, but now the client wants to replace the post content with a custom field called ingredients for the custom post type ...
0
votes
0answers
56 views

Show/Hide Custom Meta Boxes using any plugin

How can I show and hide the custom meta fields created using Advanced Custom Fields plugin? I want to handle the publish and unpublish of the fields and values from the admin panel. Is there any ...
0
votes
2answers
100 views

WP_Query get posts where post_name is empty

I want to get all the posts for which the post_name(slug) is not set/empty as well as a meta_key does not exist. $args = array ( 'post_type' => 'books', 'name' ...
0
votes
0answers
23 views

Why is a post different than a page with regard to custom fields?

I'm sure the flavor of this question has been beat to death, but why is it that I can add custom fields to pages and other custom page types, but when it comes to posts, the only info I find online is ...
0
votes
0answers
82 views

How to use custom fields to enable sticky posts on custom post types?

Background: The Wordpress Answers site has two questions which ask about how to enable sticky posts on custom post types (see how to make custom posts sticky? and Enable sticky posts to custom ...
0
votes
1answer
43 views

Is it good practice to search for custom posts based on custom field values?

I am building a theme for a local roofing company and we need to implement a solution for users to be able to search through custom posts and find what they're looking for based on custom field ...
0
votes
1answer
83 views

Filtering Custom Post Type by Comparing Date and Two Meta Keys

I am probably just overlooking something here, but some pointers would be greatly appreciated. I am trying to create an event website using Wordpress and the Advanced Custom Fields plugin. Now the ...
1
vote
3answers
132 views

How can I add a column/s to wp_posts table?

I am trying to sync WP with another service that offers an API that allows me to hook up their table's Update, Create, Delete to my sites. So when they create, update, or delete a row on their ...
2
votes
0answers
231 views

Create child page within custom post type

I want to be able to have a link like this, site.com/my-custom-type-slug/single-custom-post-name/stats/, where /stats should contain the /my-custom-type-slug page content and when I add content to the ...
0
votes
1answer
23 views

Custom post type with custom fields enabled, is there a way to set a default group of fileds?

I defined the custom postype: property, like this function register_cpt_property() { $labels = array( 'name' => _x( 'properties', 'property' ), 'singular_name' ...
0
votes
2answers
36 views

Storing/querying custom date data

I'm currently building a site where I need to filter/order/query a custom post type by date data. I can't use the post published date for this, but can't decide what would be the most efficient way to ...
0
votes
2answers
41 views

Bulk edit custom excerpt text in WordPress

Is there a way to bulk edit the custom excerpt text without going to each post and open it? When we have 300 posts it can be a very time consuming process.
0
votes
0answers
104 views

Multiple Frontend Filters Using Advanced Custom Fields

I've got a series of custom post types set up, and a large amount of custom fields are linked to these post types via the Advanced Custom Fields plugin. I want to set up a series of checkboxes on the ...
0
votes
1answer
32 views

Custom post type won't take my custom fields

I have written the following plugin: <?php /* Set up the post types */ add_action( 'init', 'mdg_kjdz_register_post_types' ); /* Register the post types */ function ...
0
votes
0answers
31 views

Get_post_meta returns Array instead of actual value [duplicate]

With the PODS plugin in Wordpress, I've created a custom post type called project. Within project I've created a few custom fields. One of those is project_thumb. The thing is; When I want to display ...
0
votes
0answers
24 views

custom fields multiple image fields

i am building an artist's archive with WP to host a variety of entries (custom post types such as "photographs", "artworks", "publications" and etc.). due to the large quantity of data, i am ...
0
votes
1answer
34 views

Best Practice for Changing Custom Fields

I'm using the Advanced Custom Fields plugin for a project I'm currently working on. From what I understand, ACF stores its values into WordPress' Custom Fields. What I wanted to know is what's the ...
0
votes
1answer
81 views

Filtering custom post type on a combination of custom taxonomies and custom fields?

I have a custom post type "artist". It has an associated custom taxonomy "artist_type" with terms "voice", "actor", "corporate" An "artist" also has custom fields for gender, location, agerangefrom ...
0
votes
0answers
44 views

How to call one custom field value if another custom field value is equal to today's date

I'm building a website for a school division in Canada, they help organize their days by assigning a school day to each day of the week. There are 5 school days, and so they do not always end up on ...
0
votes
2answers
38 views

How can meta boxes be added to “unknown” custom posts?

I'm running WP multi-site and I've created a plugin that adds meta boxes to my page and post. add_meta_box( 'Intro', __('Intro'), 'sewp_post_intro_meta_box', 'post', 'normal', 'high' ); add_meta_box( ...
0
votes
2answers
65 views

Using a Custom Field instead of original title field but only for Custom Post Type

I am trying to get a custom field value (Field "bildname") as my post title, and another (Field "bildbeschreibung") as my content in my Custom Post Type. It is not really working though. First it kept ...
0
votes
1answer
41 views

How to hide a custom field from admin?

I created a custom field that I would like to hide from the wp-admin (because the system generates it and I don't want user to change it; Hidding it with CSS should be OK in this case), Like this, ...
4
votes
3answers
325 views

Query custom post type by custom field

General Info I used the plugin WP Types (wp-types.com) to create a custom post type called "artist". In WP Types you can also set another post type as parent post type. This is not possible by ...
0
votes
1answer
226 views

How to import database table as custom post type and custom fields?

I have a sql table that contains vehicle information. When I import the database table to my WordPress website, I need the information to be imported as custom fields for a custom post type. For ...
0
votes
1answer
51 views

delete_post_meta() for whole CPT / multiple posts?

I'm cleaning up a theme and one of Custom Post Types has some odd, long gone custom fields. I want to delete them, unfortunately delete_post_meta() takes post->ID for an argument, while I want to ...
0
votes
0answers
43 views

Search a specific custom field values in a specific custom post type

Hello WordPress developers, In my site, I have created a custom post type called "BOOKS". And In that custom post area there's a custom data field called "Author". Now, what I want is add a search ...
0
votes
2answers
41 views

Order by custom field attribute

I'm try to get the output of this post type to order by the staff name alphabetically and I can't seem to figure out if needs to be within the beginning array() or if I been do something within the ...
0
votes
2answers
87 views

Get Specific Template Part if Custom Field is Some Value

I have a problem and I don't know how to solve it. I tried some solutions but I failed since I am not good programer. I also tried to find a solution, but there is no similar question asked. So... ...
0
votes
1answer
140 views

Show Posts in Vertical Tabs with Scrollbar

I have created CPT ( Custom Post Type ) called Recipes. I want to display all me recipe in Vertical Tabs. For Example; check the image below i have created. Image Example Click Here On the left ...
0
votes
0answers
27 views

Custom meta boxes for different custom post type on multisite WP

I have two custom post type defined ('acting' and 'voiceover') and custom met boxes defined for both of them. I'm able to save, update and delete on the acting custom post type. But if I add the ...
0
votes
0answers
62 views

Check before publishing, if already exist post with custom field value

I want to use custom field value unique post to post. like Email / student ID / Driving Licence as value of custom field. It has to be unique like Post ID. When I am publishing same value in custom ...
0
votes
2answers
45 views

Get result from Custom Field in Custom Post type

If trying to filter out some return results from a custom post type that has a custom field appended to it for location. I'm not too sure where I need to apply the case statement in my query. Or if I ...
-1
votes
1answer
93 views

add comments custom fields after user is logged in

I want to add two custom fields inside comments on a CPT after the user is logged in on. This is the code for creating the custom fields: function debate_comment_fields( $fields ) { if( ...
0
votes
0answers
116 views

Update Post Meta of crowdfunding plugin on click front end

I'm using the astoundify crowdfunding plugin which has a lot of custom fields while creating a campaign. I'm trying to create a save and preview functionality on that page. There are at least 20 ...
0
votes
0answers
54 views

wordpress meta_box data don't save

I made this metabox with an input item and two select items(a dropdown and a checkbox). When i write something in the input item or i select something it disappear when i update the post. Another bug: ...
1
vote
0answers
101 views

Custom Post Fields at the beginning of a Custom Permalink

Is there any way to have a permalink begin with a custom post field? For example, the follow works: $wp_rewrite->add_permastruct('solicitors', '/anything/%custom_field%/%custom_field_2%', false); ...
1
vote
1answer
82 views

Custom fields in Permalinks?

I'm wondering how to add a custom field value to a custom post type's permalink? For example, I have the custom post file ex: cpt-cities.php, which handles registering the custom post type and all of ...
0
votes
0answers
83 views

Custom Posts Hierarchy? (State/City/Restaurant)

Question: What is the best way to create a hierarchy structure (also called parent/child relationships) between custom post types? For example, we currently have 3 post types: States, Cities, and ...