1,900 reputation
1314
bio website maxyudin.com
location Riga, Latvia
age
visits member for 2 years, 11 months
seen Dec 9 at 10:31

Feb
14
comment Wrap Meta Box with <li> and </li> for each new line
See my answer to the identical question wordpress.stackexchange.com/a/84815/11761
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
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
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
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
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
comment Strings including html for localisation
If you want to return the string, use __(), if you want to echo, use _e(). So, _e() is exactly the same as echo __().
Feb
11
comment Using functions concatenated with strings inside a variable
Use get_bloginfo() and get_the_ID() to return the result instead of print it.
Feb
11
comment How to add a post without assigning to a category?
yoast.com/articles/wordpress-seo source: <div class="post-607 page type-page status-publish hentry entry">. Best wishes in enhancing your skills.
Feb
11
comment Get a list of post titles and links from yootheme master theme
Your loop does not use your $my_query and also is incomplete. See example: WP_Query Usage.
Feb
11
comment How to add a post without assigning to a category?
What about yoast.com/articles/wordpress-seo what you've mentioned in 'They both are posts'?
Feb
11
comment detect the language a post is written in
If you mean Custom Menus you have to create one menu per language. See Polylang Navigations menus.
Feb
11
comment How to add a post without assigning to a category?
Yoast's Articles are pages.
Feb
11
comment detect the language a post is written in
Simply remove pll_the_languages() from templates or delete the Language Switcher widget. Depends where it comes from.