I have created a custom single-sermons.php template file for my sermons custom post type and want to include the sermon speaker image custom field of the sermon speaker for this post.
Custom Taxonomy ID: sermon_speaker
Custom Field ID:…
Good morning.
I have created a custom post type called 'Products'. I want to create a custom field (is metabox
the correct term?) where my client can tick a box to determine whether a given post within this
CPT is a featured post.
Here is the code…
I'm using Verve Meta Boxes. I want to make a menu out of one of the custom fields. How can I return all of the custom field values? For example, if I had a custom select field called "fruit" and as options I have "apples", "oranges", and "bananas",…
Possible Duplicate:
Django dynamic model fields
Good Morning guys!
Scenario is the following. For some models on Django, I would like to allow the end user to define his own fields. It would be great if I could keep all Django awesome features…
In Woocommerce, I use custom fields to calculate the price of a product, based on this thread code: Display product custom fields as order items in Woocommerce 3.
// Add a custom field before single add to…
my question:
How to add mobile phone field in Woocommerce my-account/edit-account/ page
(Related template: form-edit-account.php file)
Like in the following answer thread:
Saving the value of a custom field phone number in WooCommerce My account >…
In WooCommerce I would like to add custom text to my products display, that will be grabbed from a custom field in product's edit page.
This is how it looks now:
You can see the products with their title below:
I would like to add a text below…
I'm trying to show list of services by price. I have setup the custom post type and custom fields etc. However, when I run the query on the page the most expensive service (£100) displays first instead of last... The query I've written is…
I have an elasticsearch cluster (ELK) and some nodes sending logs to the logstash using filebeat. All the servers in my environment are CentOS 6.5.
The filebeat.yml file in each server is enforced by a Puppet module (both my production and test…
I want to exclude every post with a specific value of a custom meta field.
The problem is, that not every posts has this meta field.
My code looks like this (excerpt of the working loop):
// WP_Query arguments
$args = array (
…
I am trying to remove custom fields section from Wordpress backend. I think I found a function that display custom fields. The function is located in wp-admin/edit-page-form.php line 181.
do_meta_boxes('page','normal',$post)
when I remove the…
I have added custom text box field in my add product page in woocommerce. Now i want to make it required (compulsory). I tried it by passing argument "required"=>true. but it is not working. Please see below code
woocommerce_wp_text_input(
array(
…
In my Django model I have two fields, name (a regular CharField) and slug, a custom field that generates the slug based on a field name passed in the field definition, in this case I use name for this.
First, the model only had the name field, with…