0
votes
0answers
8 views

woocommerce dropdown select option value [on hold]

Hello thanks for your time. i'm a beginner and for my website i need to show extra field depending on which statut you choose in my dropmenu option. $fields['billing']['billing_options'] = array( ...
-1
votes
0answers
12 views

Sort posts my custom fields [closed]

I'm wondering if there is any plugin that would allow me to do it. I also posted a picture to explain it a bit better. Basically I want to sort posts or specific post types when a user selects some ...
0
votes
1answer
19 views

How to query the custom fields by language?

For each post, there is a custom field name "Function", the key/value pair is like this: Key : Functions Value : <!--en-->Nourishing Yin and invigorating the vital essence of ...
0
votes
0answers
17 views

Nested Meta boxes?

I am trying to set up a plugin that will add a meta box to the posts admin page asking one simple question: How many authors will add their 2 cents? The question is in a dropdown with a possible 4 ...
0
votes
0answers
36 views

wp_insert_post not working

I'm using WP 3.8.3 + Yoast for SEO + custom fields. Trying to do wp_insert_post due to post migration using the $my_post = array( 'post_title' => $post_tit , 'post_content' => $link, ...
0
votes
1answer
81 views

WP Types plugin and getting a custom field [closed]

I've definded a custom field (url type) for all post types using the wp types plugin, like this: And then, In single.php I am trying to show it like this: <?php $source = get_post_meta( ...
0
votes
0answers
34 views

ACF media fields

I'm using ACF to add galleries to a post type. In the gallery field you can click edit on an image and type Title, Alt Text, Caption and Description. These seem to be media related fields. I'm ...
0
votes
0answers
8 views

Wordpress pie register custom registration [duplicate]

I am using pie register to create a custom registration page for my users, I am having a problem which is I want to add an option where when my user selects from a radio button either they have kids ...
0
votes
0answers
40 views

Wordpress - Shortcode or Merge tags

I want to use shortcode feature. The only issue is that, I am having multiple parameters. The code I have till now is : add_shortcode('lorem', array(&$this, 'lorem_function'), 10, 1); ...
0
votes
3answers
823 views

Woocommerce - Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]

I am importing affiliate products via XML into Woocommerce. Due to products having variations if I use the External/Affiliate product type I get repetition of product on my front end (eg. same product ...
0
votes
1answer
170 views

Woocommerce custom fields

I'm using woocommerce plugin in my wordpress web site. In Admin panel for products I've added few custom fields as shown bellow: On my shop page, I want to print the custom field values, and I use ...
0
votes
0answers
112 views

Woocommerce - Get or calculate user totals and assign to role

I need some help with GET and/or calculate the sum of all orders made by specific user and if conditions is 'true' assign them to specific user-role. for ex: Find all users. Get all "totals" for ...
1
vote
0answers
103 views

How can I include the custom field in Woocommerce in my IPN

I use Woocommerce plugin. All works great, I have added a custom field or attribute to a product which is fine and it shows on the products detail page but my problem is getting this data to come ...
0
votes
0answers
183 views

Adding Custom fields to woocommerce edit order page

I have a woo commerce shop selling dated courses... as the courses vary in content slightly (even if they are similar in content) and because we need to have courses listed in date order, (we have ...
2
votes
2answers
2k views

Add subtitle to Woocommerce product title

I'm using WooCommerce on a site built with Pagelines Framework. I need to have a subtitle/customisable field appear under the product name anywhere it appears in the site. As it is, WooCommerce ...
0
votes
0answers
71 views

Adding custom fields to the search and results

Im using the plugin "WP Search Suggest" to suggest in the search field. Now, the plugin works good, but it only suggest and search titles. i looked in the plugin and found this: $query_args = ...
0
votes
0answers
127 views

Plugin or shortcode for ISBN number?

I have a Woocommerce site with a catalogue of books. Each book has an ISBN (or EAN) number entered in a custom field. I need to do two things with the ISBN, and I don't want to have to manually ...
-1
votes
1answer
1k views

Add custom user field to product page in woocommerce

I need to collect user custom data in products page. This field will register user height. Can someone explain how can i do this ? Thanks.
0
votes
1answer
151 views

Collect user custom field in product page woocommerce

I have a custom user field named "weight" and I need to collect this information in woo product page. How can I do that?
0
votes
0answers
134 views

Repeating Posts Plugin Tweak

I am attempting to Repeat Posts (ie. publishing them multiple times) and found the plugin repeating-posts. However, I need to tweak it so that when I have it scheduled to repeat, it also repeats the ...
2
votes
1answer
74 views

How WordPress autosave can save plugin fields?

Setup: WordPress Add/Edit Post/Page A plugin that have its own postbox with several hidden fields. Issue: How these custom hidden fields can be saved along with the other post data within the ...
0
votes
0answers
74 views

YouTube Autoposting Link and Custom Field

I have a problem. I have plugin Automatic Youtube Video Posts. This plugin is importing videos to my wordpress. It works well, but in my posts this plugin does not put the Youtube link on the page. ...
0
votes
2answers
56 views

What method should I use for a sidebar widget that reads latest posts?

At the moment, I'm building a website for a local NGO and I have the following situation: in the sidebar, I should have a widget that displays the title of the latest editorials from the members of ...
1
vote
1answer
60 views

Security checking in meta_box save is reluctant?

For example, in this tutorial, the code suggested when saving meta box data is /* Verify the nonce before proceeding. */ if ( !isset( $_POST['smashing_post_class_nonce'] ) || !wp_verify_nonce( ...
-5
votes
1answer
85 views

Custom Fields within custom post type

Am newbie. I have a custom post type 'dogs' and i want just 2 custom fields in this type. A pic on the left and text on the right - repeatable fields. Anyone know how to do this? I've no clue of php ...
0
votes
1answer
63 views

Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites

I've built two WordPress sites. One is public site--people go to it, view my content, etc. The other site is a private course catalog. In the course catalog I have 3 custom post types. The content of ...
0
votes
1answer
247 views

WordPress Meta Query: Relation is not working correctly

I make a custom search box and let user do search. I have added required field to my editing panel by custom meta box. I have a post which have some meta data like London as place and 13021 as post ...
0
votes
1answer
315 views

how to add product subscription field in woocommerce plugin

i've a site in which a product is available for subscription and plans are 1 month, 3 month, 6 month, 12 month and price is vary according to plan. notify the user before 2 day of expiring of ...
-1
votes
1answer
326 views

How I can change PayPal IPN 'custom' field in woocommerce?

I use Woocommerce plugin. All works great, but I need add to PayPal IPN 'custom' field only 1 word instead "order_id" that writes at 'custom' field now. I trying edit this file: ...
1
vote
1answer
123 views

Execute js files doesn't seem to work

I have developed a website that uses the "Royal Slider". The post loads custom fields from the database without a problem and loops through the images and create a lovely slideshow as can be seen at ...
0
votes
1answer
1k views

Run Function if Order Meta Exists - WooCommerce

If a checkbox is checked, it saves a value of 1 for a 'my_checkbox' custom order field in WooCommerce. I'm editing the order admin table and I need to be able to echo a particular icon url if the ...
3
votes
2answers
703 views

How can I save repeatable fields with one value inside an array?

Introduce I am currently working on a slider plugin to learn a lot of PHP and WordPress. I have create some repeatable field with javascript. Some functional details: When the user is clicking on ...
2
votes
1answer
1k views

Advanced Custom Fields query

I have, hopefully easy question. I have my query here, which is using ACF <?php query_posts(array('post_type' => 'our-clients-list', 'posts_per_page' => 1, 'order' => 'DSC', 'orderby' ...
0
votes
2answers
144 views

How can i do custom author list?

My blog have many author. I can list all author. All Author list: <ul> <?php wp_list_authors('exclude_admin=0&optioncount=1&show_fullname=1&hide_empty=1'); ?> </ul> ...
0
votes
1answer
146 views

force category table refresh when adding new category

i wonder if there's a relatively easy solution to this : i have added a custom field to the categories, which in turn gets displayed in the right hand table under its own column name. (essentailly ...
0
votes
1answer
9k views

Display custom field value on woocommerce product page

I know similar questions have been asked dozens of times but I'm just not understanding how to display custom fields. I'm using woocommerce and want to display a custom field value on product pages. ...
0
votes
1answer
63 views

How do I enforce users to fill a determined custom field using WyPiekacz?

I have a Wordpress + Buddypress site. I've created two custom fields which must be filled in each post. Also, I have a form in a custom metabox to show them. I'm using WyPiekacz plugin to check for ...
1
vote
1answer
1k views

How to add image attachment to post from a single meta key (Woocommerce)

I'm using Woocommerce for products. All products are imported automatically by a plugin. Currently when i want to attach an image to a product (a post type) i have to use "Featured image" to display ...
-2
votes
1answer
76 views

Outputting custom field query from a plugin to the website header

I added the code below to the plugin that I'm working on to display the values of the custom fields but it shows up but blank. function mySEO() { require('wp-site-gps-transport.php'); } // Add ...
0
votes
1answer
129 views

Custom Fields for Page Edits

Currently using the code below for SEO. When the Code Below if added to the header works perfectly but then you have to manually create the fields that are queried. Most Clients hardly get around the ...
3
votes
1answer
338 views

Edit Imported advanced Custom Fields from wordpress Dashboard

I have imported advanced custom fields from one of my other site and now I want to add few more options to those fields but I can't figure out how to do it via Dashboard? I have imported the field ...
0
votes
1answer
56 views

Links not opening as they should. Custom WP plugin

I am working on review plugin for my wordpress blog, and I have small problems. First this is the Plugin code: add_action( 'init', 'create_devicemondo_review' ); function create_devicemondo_review() ...
0
votes
1answer
104 views

Is there a way to add a custom input field for every taxonomy term in WP post editor?

I've created a custom taxonomy for my posts, and I was wondering if there is a way to add an extra input field (a text input) for every taxonomy term inside the edit post panel. What I want is not a ...
1
vote
2answers
3k views

Woocommerce with metabox plugin

I'm using woocommerce as my e-commerce solution and the metabox plugin ( http://www.deluxeblogtips.com/meta-box/ ) to make my life a lot easier when implementing meta boxes. I've never had any issues ...
0
votes
1answer
103 views

Extending a CPT by Created by another plugin

I'm using WooCommerce for my store, and I need to be able to extend the Coupon post type... I need to add a selectable attribute of membership_term ... How do you extend a CPT created by another ...
2
votes
1answer
3k views

How to create Repeater fields using Advanced Custom Fields?

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 list with the field types. I can't ...
1
vote
1answer
417 views

Trying to reorder posts by custom field

I'm running WooCommerce and am trying to get the default product display to be sorted by the sku field in ascending order. So far I've come up with this: /* Order products by SKU */ function ...
0
votes
1answer
34 views

“After file loaded” action

I have a plug-in that allows for repeatable fields. There will be an image and the image description. The description allows for tinyMCE editing. There are obviously problems with this, but I think I ...
0
votes
1answer
172 views

Adding class to last list item? Not WP generated

this one has been getting me for a while. At the moment I have a repeater field with Advanced Custom Fields: <ul id="servicelist" class="clearfix"> <?php if(get_field('homepage_service')): ...
0
votes
1answer
485 views

Plugin that lets visitors Like a post (not facebook) and stores likes in custom meta?

Does anyone know of a plugin that has a like feature or thumbs up down etc which stores these likes as custom meta data? Not a facebook like. I'm currently using WTI Likes which stores the data in a ...