Reputation
4,734
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 10 34
Impact
~167k people reached

May
28
revised How can you display all sibling categories to a post?
enhanced the script for multicategory compatibility.
May
27
comment How can you display all sibling categories to a post?
I think you need to use my above script with a counter for that. You have the array of categories, and looping through the parents (like in my while) increase the counter. Afterwards look for the one with the highest counter. Unfortunately a function like get_category_parents() just returns a string, so you can not use it..
May
27
comment How can you display all sibling categories to a post?
To loop through all your categories, and check which one has the most ancestors (For Example World (0), Africa(1), East Africa(2), South Sudan(3)), so the one with the most is the Category you want to display in the breadcrumb.
May
27
answered How can you display all sibling categories to a post?
May
19
reviewed Approve Get the current page URL (including pagination)
May
11
comment Eliminate typical pages on search page, turn it into ajax search with “infinite” sized single page
Can you post information about your AJAX request? And some debugging of your query_vars?
May
6
comment Get_terms stopped working after WP 4.2
Did you try passing 'bw_filters' as array('bw_filters') at the get_terms function?
May
6
answered Safe to delete blank postmeta?
Apr
30
comment Custom function causes a 503 error after a couple of hours
This seems like a recursion of teadth to me. Can you confirm your function does not run infinitly?
Apr
30
awarded  Yearling
Apr
29
revised Which action hook can I use when a featured image has been selected
second cariant
Apr
29
reviewed Approve Help with a function that will place a map pin for all posts
Apr
29
revised Which action hook can I use when a featured image has been selected
updated hooks to todays version
Apr
29
comment Which action hook can I use when a featured image has been selected
Thanks for pointing that out @dalbaeb!
Apr
29
comment Search result page - display values from the result's metaboxes
In this case you will have to make a switch, because you need to define which information you want to show. For example, switch for post_type.
Apr
29
comment Search result page - display values from the result's metaboxes
Why do you use SQL queries when WordPress has all this built in? Also, the answer is not connected to the question - it was about how to displaying the Metainformation.
Apr
29
answered Search result page - display values from the result's metaboxes
Apr
29
comment Event plugin problem any one solve .?
Please have a look at the Help Center on how to ask questions, and what the scope of this comunity is.
Apr
29
awarded  Civic Duty
Apr
29
reviewed Approve How to display image on condition that a selection has been made