Reputation
2,085
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 5 16
Newest
 Custodian
Impact
~141k people reached

Feb
21
comment Display deepest post category, when post have multiple categories
As I understand, category ancestor of a given post is not post category. So you should ask for post category. Function Reference/get the category
Feb
20
comment Primary navigation menu & footer not showing in category / tag page
It says Notice: is_category was called incorrectly but I don't see is_category in your code. Please supply, probably, archive.php essential part.
Feb
20
comment Saving into post_excerpt or post_content
There is no difference when saving to DB. The only processing difference is that post_excerpt will be wrapped in <p> element when displayed on frontend.
Feb
20
comment SQL query to get posts from multiple categories but not in a category
That's impossible my code does not work. It was tested. Also, term_id IN(15, 5) is equal to WHERE term_id = 15 AND term_id = 5. Anyhow, WP_Query is better as it's native. Glad you've got it going.
Feb
19
comment Make the Status, Visibility, or Date fields opened by default in the Publish box
You can figure out their respective containers' id using any DOM inspector and set their visibility in CSS file or using jQuery.
Feb
19
comment How do i get a specific user metadata using custom metavalue outside of wordpress?
There is no meta data in wp_users table. And you don't need wp-load.php to query the database. Use plain mySQL query from your external script.
Feb
16
comment Transfer from English page to Arabic page
Your question is tagged as wordpress.com which is off-topic on this site. Is it the mistake?
Feb
14
comment Form action redirect to the same page
What does SHIURIM_PAGE contains? What does get_page_link(SHIURIM_PAGE) returns?
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?