63 reputation
7
bio website
location
age
visits member for 2 years, 7 months
seen Oct 13 at 15:44

Oct
13
awarded  Supporter
Jul
7
awarded  Popular Question
Apr
16
awarded  Scholar
Apr
16
awarded  Benefactor
Apr
16
accepted Hide and show menu subpages
Apr
16
awarded  Editor
Apr
16
comment Hide and show menu subpages
I edited my post for to be sure. Hope now it´s clear.
Apr
16
revised Hide and show menu subpages
added 853 characters in body
Apr
16
comment Hide and show menu subpages
I just have problem that ´wp_list_pages()´ is creating li with this class ´class=page_item page-item-xxx´ where xxx is id of article (or something like that). So jquery can´t be aplicated to these lists (li). Can you help me with this? How to change that ´wp_list_pages()´ creates li with same class?
Apr
13
comment Hide and show menu subpages
I am sorry but I still don´t know how can I edit this: ´<?php wp_list_pages('sort_column=id&depth=1&title_li='); ?>´that it created HTML as you shown.
Apr
13
comment Hide and show menu subpages
Yea, I want to do this but I want to add this in wordpress backend. I want that ordinary user can go to wordpress administration and in pages set that this is page which will be parent and this pages will be shown after click on that parent. User should add pages without editing code. Thanks
Apr
12
comment Hide and show menu subpages
oh, I mean items in my custom menu on frontend
Apr
12
comment Hide and show menu subpages
I mean in sidebar like this ´<!-- Pages --> <li id="sb-pages"> <h2>Stránky</h2> <ul> <?php wp_list_pages('sort_column=id&depth=1&title_li='); ?> </ul> </li>´ and for archive I want this working too ´<!-- Archives --> <li id="sb-archives"> <h2><?php _e('Archives'); ?></h2> <ul> <?php wp_get_archives('type=monthly&show_post_count=1'); ?> </ul> </li>´
Apr
11
awarded  Promoter
Feb
29
awarded  Student
Feb
29
asked Hide and show menu subpages