1,144 reputation
818
bio website visztpeter.me
location
age
visits member for 4 years
seen Aug 29 at 21:24

Jun
28
answered How to check if a product is purchased within the last 365 days before displaying something
Jun
26
comment Show different content in the same URL
I don't think its a good SEO idea to change the content of the same url daily.
Jun
25
answered Search WooCommerce Products in WordPress
Jun
24
answered Display inner pages like posts.[Like how post excerpt works]
Jun
23
revised Order By Multiple Meta Fields
added 422 characters in body
Jun
23
comment Order By Multiple Meta Fields
Yep, sorry, i understand your question now. You can pass an array into orderby in WP_Query to specify a fallback order if the default one wont work. I updated the code. Not sure if this would work for you, i tried it with a couple of posts but obviously i can't replicate the exact stuff you're trying to do.
Jun
23
revised Output column number according to active sidebars
deleted 3 characters in body
Jun
23
accepted How to disable user registration for the default subscriber user role?
Jun
23
answered Order By Multiple Meta Fields
Jun
23
answered Output column number according to active sidebars
Jun
16
asked How to disable user registration for the default subscriber user role?
Jun
14
comment Have I been hacked? Mysterious code at the top of theme files
Yep! Remove the malicious code, update your WordPress, Plugins, Theme, change your admin passwords, change database/ftp passwords, change the salts in wp-config.php, install WordFence and scan your site for more issues.
Jun
14
comment WP AJAX is not working, always returns 0
Add add_action('wp_ajax_nopriv_setAsyncCheckProduct', [$this, 'setAsyncCheckProduct']); too inside assignAsyncEvents()
Jun
14
accepted How can i get the name parameter defined in get_header?
Jun
14
answered Create new user from phpMyAdmin
Jun
14
asked How can i get the name parameter defined in get_header?
Jun
12
comment Get the ID of the latest post
get_posts("post_type=yourcpt&numberposts=1&fields=ids") to only return the post id, nothing else, a little bit faster this way:)
May
28
awarded  Popular Question
Apr
16
awarded  Popular Question
Mar
12
awarded  Popular Question