nathanfranklinau

nathanfranklinau supports this item

Supported

This author's response time can be up to 10 business days.

65 comments found.

hello nathan, I am so pleased purchasing this plugin by yours, so that enabled my contact form better than old times for my clients. However, All I want to ask a question in my mind that no answered. After user selected multiple items from dropdown list, the procees ,I have aimed that the get the author users of the selected posts. I have a plan that gets the user_emails of the selected posts from dropdoown list so that it is possible to send automatic notice emails of those author users of the listed posts. How can I view post listings next to authors thank you

I’m sorry. I do not understand the question

Great plugin. I use it to show job postings, and edited the plugin.php file in wp-includes like you suggested. The new WordPress update overwrites the file. Any ideas on how to avoid that (besides not updating)?

Hi. Can you clarify when you say edit the plugin.php file. What are you trying to achieve by doing this? I can’t recall offering such advice as that is a bad practice.

Hello, I installed this plugin in a form to fetch the woocommerce product names in the dropdown. And it did great. One more thing that will complete my requirement is to get the product price of the product selected by user. Please help if its possible with this plugin.

Hi…

Try this:

add_filter('gfpl_post_title', function($post_title, $post_id, $meta_key, $group_by_taxonomy, $field) { $post = get_post($post_id); if($post->post_type == 'product') { $post_title .= ' - ' . wc_price((new WC_Product($post_id))->get_price()); } return $post_title; }, 10, 5);

Hi, How can I get the woocommerce orders to show up? Thanks

Hi. Unfortunately, WooCommerce now uses non standard wordpress statuses. In order to get around this, put the following code in your theme’s functions.php file:

add_filter('gfpl_post_args', function($args, $post_type, $meta_key, $group_by_taxonomy, $field) { if($field->id == 3 && $field->formId == 1) { $args['post_status'] = 'completed'; } return $args; }, 10, 5); Replace the field id and form id with your options.

Hi Nathan, I want the dropdown only to show items from one category and not all of them, can I limit the post list easily via hook? Thanks

Hi, Yes this is possible, you can use the gfpl_post_args filter.

Something like this should get you started: add_filter('gfpl_post_args', function($args, $post_type, $meta_key, $group_by_taxonomy, $field) { if($field->id == '') { $args['cat'] = cat id here; } return $args; });

The gfpl_post_args filter uses standard WP_Query query args.

awesome thanks!

by
by
by
by
by
by