prz-emo
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-dTree] [Plugin: WP-dTree] Posts and parent categoryLOL. I’ve thought that this:
$query = new WP_Query( 'category_name=Offer' );
shows posts only from Offer but not from subcategoies.My mistake. Thanks a lot! :]
If you’re intrested, you can check how my code works here(only category ‘ELEWACJE’ have posts) :]
Forum: Plugins
In reply to: [WP-dTree] [Plugin: WP-dTree] Posts and parent categoryYes, if you are in Offer in content you see all of products – with pagination. When you select E from the submenu, in the content you see products only from E category etc.
When i put POST into K, you go to offer and don’t see it.
Forum: Plugins
In reply to: [WP-dTree] [Plugin: WP-dTree] Posts and parent categoryThe POST is one of products from offer. My client want, that in sidebar is list of all categories:
-you click on E category and the script shows all subcategories or, if doesn’t exist all post from this categegory,
-next, you click on K category and you see all posts from this category.This should look like this:
click
‘Elewacja’ is the E category
‘Kamień regularny’, ‘Kamień nieregularny’ are K category
‘Słońce Bałkanów’, ‘Słońce Adriatyku’ etc. are POSTS categoryForum: Plugins
In reply to: [WP-dTree] [Plugin: WP-dTree] Posts and parent categoryYes. When I look at the post in admin panel there are both of categories(K, E) but sort by name, so the first category is E.
I’ve written my own code without ajax and it works :]