Custom Fields are fields that can holds arbitrary extra information known as meta-data.

learn more… | top users | synonyms (2)

0
votes
0answers
27 views

custom field images do not display until page save

Pragmatically i am adding custom field images to my page. The process is I create the post I update to apply a template I add my custom fields which includes an image This is working and i see ...
0
votes
0answers
41 views

How to add a dynamic select field in woocommerce product page

I have a custom post type fine_prints with only a title field. I want to add a new field in woocommerce product page. A dynamic select that will show all fine_prints with their id as value. I have ...
0
votes
0answers
171 views

Save WooCommerce custom field values without “Updating” Admin Post

I'm creating a website that is on the WooCommerce platform and what I'm essentially trying to do is add another option to the sorting feature of the plugin by using a manually created custom field ...
0
votes
0answers
59 views

Add Custom Fields To Variable Products WooCommerce

I am working with the most recent version of WP, AVADA THEME, and WooCommerce. I have variable products which require the shopper to select COLOR, SIZE, and MATERIAL to dial down to the correct ...
0
votes
0answers
26 views

Find page metadata in database

I want to insert metadata to custom fields (from "advanced custom fields" plugin) manually (with wp_update_post_meta). I need to know how the meta value strings look like so I can insert this kind ...
0
votes
0answers
13 views

How to add all the number given in field of metabox of wordpress?

I have added a field called number of question in post meta box. THe feild name is no_of_question. To get the number of question i can do echo get_post_meta($post->ID, $field['no_of_question'], ...
0
votes
0answers
32 views

Save custom post data outside of default post form

I have some text inputs in my post editing screen. I can't have them in the standard metaboxes and they are outside of the default post form. <form name="post" id="post" action="post.php"> I ...
0
votes
0answers
22 views

Create plugin to modify custom field values

I've developed a plugin which outputs a list of events into a widget. To display event details I created a generic page with shortcodes and the plugin populates shortcodes with event details. This ...
0
votes
0answers
18 views

Get options from a select custom field

I've created a select custom field with different predefined values. I've done this using the Types extension for WordPress. Now I'd like to create a function to retrieve all the values that this ...
0
votes
0answers
42 views

Show posts in numeric price order using meta query combining 2 meta keys

I've built a custom estate agency website for a client but I'm stuck on this one last thing before it's good to launch. I'm using custom meta fields to allow for additional meta data such as Price, ...
0
votes
0answers
24 views

Create meta boxes globally

I am trying to create a smallish plugin for my needs where I can be able to add some information about people only visible to back-end - I don't want to have it like a post visible to public, and ...
0
votes
0answers
18 views

Conditional metabox jquery

I have a metabox where I am trying to hide a div inside of it whenever a option is selected, I also have another area but with radio buttons (separate div). Issue The issue I am running into is the ...
0
votes
0answers
31 views

metabox inside custom post

i'm trying this to add metaboxes inside custom post but never show the metabox Function Reference/add meta box « WordPress Codex Example: But never show this inside custom type post, Only inside ...
0
votes
0answers
39 views

Retrieving custom post type fields without a post

I have reviewed this question, however I don't think that's good enough for what I want to do. I'm developing a plugin that needs to be aware of different fields available on custom post types, so I ...
0
votes
0answers
51 views

Adding custom fields multi value using json-api

I'm using json-api to create a post with custom fields using query: ...
0
votes
0answers
13 views

All Metaboxes on position 'side'

I added a few custom metaboxes to my custom post type. I did add one of them with position 'side', but to others I said 'normal'. Now all the metaboxes are showing up on side, even the ones which ...
0
votes
0answers
17 views

Creating a custom form with a repeatable row and conditional showing of fields

Would love some guidance. We tried Advanced Custom Fields (ACF) and hit a snag. Basically in a custom post type, we want to create a repeatable set of items. When an end user adds a repeatable item, ...
0
votes
0answers
24 views

Displaying no post message in rather complex query that shows only future events

I'm trying to do something rather simple, which is display a message if there are currently no posts available. However, the environment I want to do it in is rather complex, as I'm using the Types ...
0
votes
0answers
25 views

Custom Fields “Load value based on the post's terms and update the post's terms on save” Setting

What does this setting do? Filtering my CPT Archive only works when I have this enabled, so it must be a good thing. However, I am not the person who made this WP site, so I do not know why this ...
0
votes
0answers
64 views

MetaBox autocomplete field with another custom post type?

I am using the MetaBox.io plugin and creating a post type called "Book" which I am trying to relate to another custom post type called "author". How can I create a custom field for Books that would ...
0
votes
0answers
34 views

Query and compare multiple meta values

The problem: I have a custom post type of 'events' which has two metaboxes: cf_eventdate and cf_eventend. The first contains the event date, in the format: 2015-11-05. The second contains the end ...
0
votes
0answers
22 views

Changing the body of mail sent to new user registration

I am practically new in this community / forum, I hope to be as clear as possible about this question. I would like to change the body of the email sent to new users registered on my site, since only ...
0
votes
0answers
13 views

Saving sorted CPT with CF

I'm using WP-types to create custom post types and custom fields. Using CPT and CF, I've created photos gallery assigned to Posts. When I'm sorting them by "Wgraj zdjecie" and click save all, it ...
0
votes
0answers
16 views

How to format the various types of custom fields?

So i am ready to throw in my custom post type a bunch of custom fields. All these fields need specific handling for their input and validation. Exmaples: Numeric fields E-mails WYSIWYG editor ...
0
votes
0answers
22 views

Problem saving meta data

I'm making my first WordPress plugin. I used an example to save text that an administrator enters when submitting a new post, but the meta data is not saving. Can anyone help on that? /** * Adds a ...
0
votes
0answers
11 views

Custom Search Doesn't FIlter Based on Custom Field

I am trying to search various post types based on a custom field equal to a certain value. However when I do my search, it's ignoring my filter. Here's my code: function ...
0
votes
0answers
18 views

create custom field dropdown

so far I'm using custom field on my theme to display dynamic content, for example: <?php echo get_post_meta( get_the_ID(), 'product', true ); ?> <?php echo get_post_meta( get_the_ID(), ...
0
votes
0answers
23 views

Filtering by custom fields select?

I have a custom template listing all the posts under a category x. This is how my current loop looks like: <?php query_posts('cat=522'); while (have_posts()) : the_post();?> All the ...
0
votes
0answers
25 views

Creating custom post type with custom taxonomy and custom fields programatically

I need to create a custom post type. This post type will have a custom taxonomy. Also this post type will have custom fields. I dont want to use any plugins to do it, i want to include the creation ...
0
votes
0answers
33 views

Run query with meta key via AJAX

I'm completely new to AJAX, and I can't seem to find anything that's pointing me in the right direction. I have a table that contains one row for each post in a post type. Each row contains the posts ...
0
votes
0answers
24 views

Tracking logged in users page visits

I need to be able to track logged in users (excluding admin) and know When a user was last active on the site When they last visited specific pages (and ideally their first visit to the page and ...
0
votes
0answers
19 views

Attempting to add an imagemap/ content to Front Page — shows up only in meta description

I'm dealing with a nasty old theme for a friend that uses a huge slider as its homepage background image. I'd rather not scrap and recreate the site, as back in the day I put in a good amount of ...
0
votes
0answers
43 views

Insert a custom taxonomy as a class in acf gallery loop

I am almost there, but not sure how to echo out a custom taxonomy as a class into my div containing my image. (see all the stuff below). All of the tutorials I see talk about using wp_query and then ...
0
votes
0answers
58 views

How to export data from a custom Meta Box added into categories

I have a custom meta box (text input) in the categories to insert the 'Meta Description', and when I export the data by using Tools > Export, this meta box is not exported. Actually, the content of ...
0
votes
0answers
31 views

Login with user in custom created table

I was trying to add more features in login page, that i created a extra "myusers" table and trying to add two tabs in login screen,with the second tab i want login using my created users in 'myusers' ...
0
votes
0answers
31 views

Admin - Search Events by a custom field

I am using the events manager plugin and i created a new field using custom fields plugin. I don't know how to make the search from wp-admin to filter using the custom field i added. For details ...
0
votes
0answers
30 views

How to add a default field Name to post Custom Fields

I would like to have the "Name" field in the Custom Fields section of of Wordpress backend to have a certain value by default. For example, when the user starts a new post, I would like the Name of ...
0
votes
0answers
45 views

Search on Category and BETWEEN custom meta field

Background I am building simple car theme where I want to review cars, however, I'm really struggling with my search implementation. I have added a couple of custom meta fields to the post including ...
0
votes
0answers
133 views

How to get posts ORDERBY a custom taxonomy term's custom field?

I have a custom taxonomy program_taxonomy : /* register a common taxonomy for DRAMAS & reality_shows to get post by terms in PROGRAMS page */ register_taxonomy( 'program_taxonomy', array ...
0
votes
0answers
30 views

Send email to different users depending on the field selected in woocommerce?

So, I've been searching high and low and I don't know if this is possible, but I figure this is the best place to try and see.. I have a checkout field added to my checkout page in woocommerce. It ...
0
votes
0answers
51 views

Trouble displaying custom fields within post type in WP_Query Loop?

I'm trying to write a query that displays a custom field within my custom post type 'Inventory'. The custom field name is category and the field type is taxonomy. The category is selected by a ...
0
votes
0answers
28 views

Custom elements for Wordpress Admin Menu Manager

Scenario: I want to allow users for a theme to set icons (fontawesome) to their menu items via the wordpress Menu Manger. To achieve this, one could set "screen options" to show css class field and ...
0
votes
0answers
21 views

View list of categories from values ​​in custom fields

Through the Advanced Custom Fields created a field to add values ​​in each category. example: Category A = Cars Category B = Aircraft Category D = Boats Category E = Aircraft Category F = Boats ...
0
votes
0answers
64 views

Automatically set the_post_thumbnail to Custom Field Value

I have a custom field (built using Advanced Custom Fields) that I've chosen a Featured Image with. Everything works great, but I'm looking at using this plugin for Social Sharing: ...
0
votes
0answers
31 views

Copy custom field value to serialized meta

The scenario: I've been using Advanced Custom Fields to create a custom field called "subtitle", to have, of course, a subtitle below the post titles. It's called using: get_field ('subtitle'); ...
0
votes
0answers
37 views

Custom fields in a loop won't display without post_id

I am trying to loop through the posts to extract custom field values to use it in html. Using Advanced Custom Fields and the plugin has a nice get_field() and the_field() functions that should work in ...
0
votes
0answers
179 views

How to dynamically populate select field with custom taxonomy?

I'm using the WP Types plugin to create custom post types, taxonomy and custom fields. I have a custom post type 'Offers' and the Offers are grouped into specific groups using a 'brands' taxonomy for ...
0
votes
0answers
18 views

Custom Meta box not Saving

I read the other questions but i couldn't find an answer which suits my exact problem. I noticed my custom meta boxes dont save the values anymore. It worked fine until recently. Here's the pastebin: ...
0
votes
0answers
27 views

Image didn't load from taxonomy's custom meta field

adding some custom fields (image field) to custom taxonomy (issue) basing on code from (https://github.com/bainternet/Tax-Meta-Class), trying to out put the image attached to each taxonomy term by ...
0
votes
0answers
44 views

Special characters WP Custom Fields Search

I am using WP Custom Fields Search for my custom content Search. I have the problem, that my special characters are not displayed as utf-8 character. Database is correct utf-8 ... Thanks