Questions tagged [custom-fields]

WordPress custom fields: author-entered post metadata

Related links

WordPress Documentation: Custom fields

1518 questions
-1
votes
1 answer

How can I create a CustomField to choose Assets in Vaadin7 Magnolia?

I'm trying to create a CustomField who allows select an asset from magnolia's assets app, with Vaadin 7, in a Magnolia Custom App. I already create a visual interface, but I cant connect with the assets app to select the asset.visual interface
pacheco
  • 13
  • 3
-1
votes
1 answer

Woocommerce - Add extra form fields to single product page

I'm using Woocommerce and on the single product page I'd like to display some custom form fields in addition to the default "quantity" field. These form fields are simple: first_name, last_name, email, and phone. I would like to collect this…
cpcdev
  • 1,130
  • 3
  • 18
  • 45
-1
votes
2 answers

How do I display media, URL's or PDF links with WordPress custom fields?

I am running WordPress 4.5.2, Twentysixteen, and a plugin called 'Custom Fields Template'. I am looking to make the most of WordPress' custom fields but do not know how to make it do more than display a UL with some basic text data. I would like to…
Mez Adams
  • 13
  • 1
  • 6
-1
votes
1 answer

How to set task level custom field value using jsom in project server 2013 ?

Is there a way to set a task level custom field value programmatically using jsom in Project Server 2013? Please advise.
-1
votes
1 answer

(groovy) How to hide all the fields on a form, and show just one?

So, here is the problem. I am scripting in Groovy on a online Workflow platform. I have 9 forms containing custom fields. I have Edit action, in which I show/hide forms based on a type of product. Now, I have common fields, and I should show/hide…
petkovicm
  • 1
  • 2
-1
votes
2 answers

What is wrong with my if statement? (wordpress)

I am trying to use a custom fields plugin to replace the featured image on a post. If the custom field is empty i want it to show the featured image, if the custom field has an image i want it to show that image.
John Garcia
  • 58
  • 1
  • 10
-1
votes
1 answer

get custom fields value in wordpress while saving the post and save these values in different table in db

I have 2 custom post types created with ACF 1 is check box, meta key = google_search 2nd is a text field, meta key = search_keyword While publishing post I want to check if the google_search is checked and there is a value in search_keyword…
Code Poet
  • 147
  • 1
  • 3
  • 16
-1
votes
1 answer

How do you call a custom field in a twig template in Wordpress?

I have a wordpress site using a twig template. I'm trying to call and display a custom field. How can I do this?
tine
  • 11
  • 6
-1
votes
1 answer

Woocommerce /Display Custom Field in Wordpress

I added some custom fields to the each product in Woocommerce, and I would like the data from the custom fields to show on the following receipt page (Order Details) after checkout is completed. Just can't get it, not strong in php, why can't get…
-1
votes
1 answer

Adding extra fields for an AddressBook contact using iphone simulator

I was new in iPhone application development. As i might have gone through native applications, i was struggling from 1 week, for adding new fields to a particular contact of AddressBook. As we might have known that it is not possible to edit…
Ramya
  • 168
  • 3
  • 10
-1
votes
1 answer

Wordpress page template, custom fields not working after WP_Query Loop

I’ve got a problem that’s a little tricky to explain. I’m building a custom wordpress site and am having trouble with one page template specifically. I’m using custom fields (set up with advanced custom fields plugin) to pull in content from the…
Sharma
  • 195
  • 1
  • 1
  • 9
-1
votes
1 answer

Get all custom fields that belong to a certain box in Wordpress

How can I get all custom fields that belong to a certain box only. For example, I am using the "more fields" plugin which allows me to create boxes of custom fields for instance a box called "hotel features" with different custom fields as the…
xantrus
  • 1,975
  • 1
  • 22
  • 44
-1
votes
1 answer

Random custom fields

On my homepage, I have 6 blocks including some custom fields each. I would like to have a random display of these 6 blocks. My codes simply looks like this :

imudo
  • 91
  • 6
-1
votes
3 answers

get value of image custom field at frontent of wordpress?

Please help me out.I am battling since three days. How to fetch value of a custom field to display it in post content area?
shweta
  • 19
  • 1
  • 5
-1
votes
3 answers

insert
after comma with php

I array text from custom field "black, grey, white" with this code: post->ID; echo get_post_meta($postid, 'colors', true); ?> I want show me like this: black
grey
white It's possible with PHP?…
vektor
  • 117
  • 3
  • 11
1 2 3
99
100