637 reputation
513
bio website visztpeter.me
location
age
visits member for 3 years
seen yesterday

1d
comment Order Summary page in WooCommerce
Theres an Order Details section just above when you select the payment method. You can edit this template file to include the other checkout field values here, since it is updated using ajax. Then, if you want to split to pages, this might help: codecanyon.net/item/woocommerce-multistep-checkout/8125187
2d
comment Calculations with Woocommerce Customer/Order CSV Export
Not sure what you're trying to do. Is there a custom field called YES and NO? Because thats what the get_post_meta function will look for.
Aug
19
awarded  Yearling
Aug
9
awarded  Popular Question
Jul
29
awarded  Notable Question
Jul
16
awarded  Tenacious
Jul
6
comment posts to get expire (deleted) after a date
How many coupons do you have? it should't be too slow, since its only going to run once a day.
Jul
6
comment populate custom field on publish or update
in your theme's functions.php file
Jul
6
comment posts to get expire (deleted) after a date
Oh boy...:) You need some experience with WordPress to do something like this. But the code goes inside your theme's function.php file or create a plugin for it. How and where do you registered the coupon post type for the Coupons?
Jul
6
comment posts to get expire (deleted) after a date
The 3 example you showed in the question will work with strtotime, but its not fool-proof. The problem is that 01/12/2014 could be december 1. or january 12, nobody knows 100% sure.
Jul
6
revised posts to get expire (deleted) after a date
added 1049 characters in body
Jul
6
answered posts to get expire (deleted) after a date
Jul
6
comment Custom widget not appearing on front end
Also, looks like the widget appears on the other pages on the site, correct?
Jul
6
comment Custom widget not appearing on front end
First, theres a html syntax error with this, the widget that will be generated is inside a div, and you're trying to display the widget inside a paragraph tag, which is not going to work properly. In short, a paragraph element may not contain other block elements. So change <p class="opening-hours"> to <div class="opening-hours">
Jul
6
answered populate custom field on publish or update
Jul
2
awarded  Curious
Jun
28
awarded  Popular Question
May
15
comment Dump contents of a variable inside a filter/hook callback that runs during save post
The filter probably runs in the background, so if you don't stop the function using die(), the var_dump still works, you just can't see it.
May
15
comment Getting page ID inside loop
Use a regular include instead of the get_template_part: include(locate_template('content-custom.php')); This way the variables are passed, so you can re-use them in your template.
May
15
comment Custom user fields validation on registration
The ajax_register_form() function is only hooked to an ajax-request, so the form data is not processed with a regular submit, only if the ajax works. I would suggest you to fix the ajax form submission first, or else you need to edit the ajax_register_form function to work with regular forms which would take more effort to do in my opinion. You can test it by changing the first add_action( 'wp_ajax_nopriv_ajax_register_form'... line to add_action( 'init'..., this will submit your form properly, but make sure you have a conditional logic in your function so it won't run always