0
votes
0answers
12 views

How to display existing custom billing field in get_formatted_billing_adress in woocommerce? [closed]

I have custom billing field successfully added on checkout page and it shows also in admin panel on order page. I added some actions and filters in functions.php (code below) However I would like to ...
0
votes
0answers
6 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
33 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
453 views

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

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
98 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
75 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 ...
0
votes
0answers
50 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
146 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
1k 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
55 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
101 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
978 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
98 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
113 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
67 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
73 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
0answers
117 views

XML-RPC request for meta information without utilizing xmlrpc_encode_request

I am trying to access the meta data associated with a product and am running into issues when I try to access it via XML-RPC. I also can't utilize the php function xmlrpc_encode_request because my ...
0
votes
2answers
54 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
56 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( ...
0
votes
0answers
232 views

WOOCommerce How to Set Up Check Out Page Custom Field Dropdowns with Auto Complete (like other fields)

I'm trying to set my custom field that I've created to display the same as how Countries and States are set up. I.E With the styling, and where a user can start typing in the first few letters of the ...
-5
votes
1answer
77 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
52 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
217 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
218 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 ...
0
votes
0answers
29 views

Show custom image size when all I have is the image URL

I'm using the Types plugin for a client's project and they want to output some gallery images as thumbnails which link to the larger versions. The problem is the full size versions are MASSIVE (I ...
-1
votes
1answer
278 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: ...
0
votes
2answers
1k views

Use ACF to display a customizable WooCommerce product add to cart button

WooCommerce is notorious for not being all that customizable (except for templating that is a seriously convoluted process). So, I am attempting to use Advanced Custom Fields (plugin) to create an ...
1
vote
1answer
114 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
967 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
518 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
135 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
126 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
7k 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
62 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
71 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
122 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
286 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
51 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
101 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
97 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
2k 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
354 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
33 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
157 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
460 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 ...
1
vote
1answer
207 views

Wordpress metaboxes - textfield suggestion automatically populated

[Long story short] Is there any Wordpress plugin/function that would allow the creation/integration of a metabox's textfield that automatically populates a dropdown menu (in the admin area, while in ...
1
vote
1answer
383 views

how do i remove posts from a WP_Query so the pagination is right?

I'm using a custom post type and showing 20 of them per page on the homepage. I'm using QP_Query. One custom field for the custom post type (called mixtapes) is a checkbox called "unreleased" (set ...