1,860 reputation
1313
bio website maxyudin.com
location Riga, Latvia
age
visits member for 2 years, 6 months
seen 21 hours ago

Feb
14
answered Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory
Feb
12
comment Detecting $_GET parameters from any page + Cookie
I've placed it into functions.php. Do you have WP_DEBUG enabled? If not, enable it and see for errors/warnings/notices.
Feb
12
comment Detecting $_GET parameters from any page + Cookie
Any errors/warnings/notices? It works perfectly for me on any URL.
Feb
12
revised Detecting $_GET parameters from any page + Cookie
tested
Feb
12
comment Advanced Custom Fields - Check multiple Empty Fields
I must agree with rrikesh. Comparison against false is more all-purpose although don't required in given question.
Feb
12
comment Detecting $_GET parameters from any page + Cookie
There was a syntax error. Feel free to change the location to your choice. And always remember, copying and pasting unverified code can lead to unexpected results down to permanent data loss.
Feb
12
revised Detecting $_GET parameters from any page + Cookie
syntax errors fixed
Feb
12
comment Advanced Custom Fields - Check multiple Empty Fields
$var = ''; var_dump( empty($var) ); // true
Feb
12
comment Advanced Custom Fields - Check multiple Empty Fields
$var = false; var_dump( empty($var) ); // true
Feb
12
comment Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory
Should we guess the plugin name?
Feb
12
revised Recent posts on a static home page
code formatting and reducing
Feb
12
comment Recent posts on a static home page
I've already edited your question and it is waiting for peer review. See Code Formatting.
Feb
12
suggested suggested edit on Recent posts on a static home page
Feb
12
answered Detecting $_GET parameters from any page + Cookie
Feb
12
comment Detecting $_GET parameters from any page + Cookie
I think send_headers is appropriate.
Feb
12
comment Detecting $_GET parameters from any page + Cookie
Use PHP isset() to determine if $_GET['affid'] is set and PHP header('Location: http://mysite.com/about/') to redirect.
Feb
12
comment Recent posts on a static home page
If you can supply the code why don't you do that?
Feb
12
revised Setting selected term_id with wp_dropdown_categories?
more info
Feb
12
answered Setting selected term_id with wp_dropdown_categories?
Feb
12
revised Setting selected term_id with wp_dropdown_categories?
Code readability improved