| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 5 months |
| seen | Apr 18 at 21:24 | |
| stats | profile views | 6 |
|
Feb 26 |
comment |
Nav Menu and display post count Sry, but i mean not to display the count of the child Cateogrys, but of the POSTS inside the Children Categorys. But i try now to find a soloution :) |
|
Feb 26 |
asked | Nav Menu and display post count |
|
Feb 15 |
revised |
Refine/Filter the Search Results by Category added 473 characters in body |
|
Feb 15 |
comment |
Refine/Filter the Search Results by Category So i solved this problem with remove query arg, but the other problem here is, that only one cat from the url removed, only those cat query which the search refines. Standard URL: ...&adv_cat_52=on&adv_cat_57=on&adv_cat_58=on&adv_cat_53=on&adv_cat_56=on&... After Click on the Category with the ID 52: ...&adv_cat_57=on&adv_cat_58=on&adv_cat_53=on&adv_cat_56=on&...&adv_cat_52=on But others where not removed, but this must be done, so that only CAT 52 is in the url. When one search in Categorys A & B and click on category A, then shows not the posts from A, but from B. |
|
Feb 15 |
comment |
Refine/Filter the Search Results by Category Sorry i expressed my problem not good, i mean that if i delete the old adv_cats in the url manually and the new cat what refine the search results is add, then its works, but when i clicked only on the filter than removes the other cats not from the url. when i come home, i send a live preview what i mean exactly. |
|
Feb 14 |
asked | Refine/Filter the Search Results by Category |
|
Feb 10 |
awarded | Teacher |
|
Feb 10 |
answered | Check is category parent with ids from the childs - get_term_children |
|
Feb 10 |
awarded | Commentator |
|
Jan 25 |
comment |
Custom Pagination for a Page with Comments Thanks for the links, i will read and try this. |
|
Jan 25 |
asked | Custom Pagination for a Page with Comments |
|
Jan 17 |
asked | Check is category parent with ids from the childs - get_term_children |
|
Jan 15 |
comment |
get_category_children/ the new get_term_children not work What i will is, that the ID of the Children Category is display here onchange='toggle( {$category->term_id}, Array( $cat_children, 999 ) )' So that its child category checked when the parent is checked (java), but with get_term_children is give only a array back, only the own id is shown, not that of his child category. |
|
Jan 15 |
awarded | Editor |
|
Jan 15 |
revised |
get_category_children/ the new get_term_children not work added 2421 characters in body |
|
Jan 15 |
comment |
get_category_children/ the new get_term_children not work Thank you, i have changed the Code [code] $cat_children = get_term_children( $category->term_id, 'category' ); if (is_wp_error($cat_children)) { echo 'Error'; } elseif (is_array($cat_children)) {.....}[/code] And now its work, and no error comes more. With the code i want output the categorys in Checkbox, so that one can choose in which category/or categorys will search: In Category A & B & C/ or only A. The rest of the code have i now posted in my question :) And sry for my bad english. |
|
Jan 15 |
asked | get_category_children/ the new get_term_children not work |
|
Jan 1 |
awarded | Student |
|
Dec 12 |
comment |
Load Jquery Function after Ajax Pagination I solved the problem with live.jquery. |
|
Dec 9 |
asked | Load Jquery Function after Ajax Pagination |