But on mobile not:
https://ibb.co/Gk1dbx2
After clicking “Sklep” (Shop) you should get a list of category. Instead of that you are redirected to the shop’s home page.
]]>But does Newsbuzz not support more than 2 levels in a menu or what can I do to make my 3-level menu appear. Otherwise I have to change theme, but I dont want to.
Thank you
Lizandra
I try to create a multilevel menu, items are mainly categories, the problem when I add one or two items and I try to save the error below appears and I can not access the site until I renew my IP address.
403 Forbidden
Access to this resource on the server is denied! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
[CSS code moderated – please post a link to your site or use the https://pastebin.com/ – see https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
if any one can help me than thank u in advance
or at least please guide me through
The code i made ony works for children, not for sub/ sub-sub children
$pages = get_pages('child_of=16&parent=16&sort_column=menu_order&sort_order=asc&title_li=&exclude=73');
foreach($pages as $page) {
<li <?php echo ($post->ID == $page->ID)? 'class="current_page_item"': ''; ?>><a>ID) ?>"><?php echo $page->post_title ?></a>
<?php
}
?>
I’m a bit puzzled on how to achieve that in wordrpress. Any suggestion is welcomed!
]]>I have googled this topic front and backwords and have not found a solution. The problem looks like this.
I’m working with static-pages only.
I have a top menu with depth=1 so it displays only the top level of menu.
I have a menu on the side to display only the further levels so therefore it looks like this :
$theid = gettheid();
wp_list_pages(‘child_of=$theid’);
And I get a list I want but the problem is I only get it when I’m in the top page and when I go into one of the children the menu dissappears – logic.
I want to menu to stay the same in all further levels of children so I would need something called top_page_id
Any idea on how to do this would be GREAT!
]]>I’m building a CMS based on WP. One thing I can’t make happen is my menu… Probably it’s very simple, but I can’t figure it out.
Simply, I want a main-menu with categories and pages in one list. When a category is clicked, I want a new list to appear with the sub-menu in (sub-categories)
You can take a look at my demo; my demo
It’s almost there, but when the sub-menu-item “Office” is clicked, the whol?e sub-menu disappears!
As it is now, I’m using this code;
<div class="grid_10" id="topMenu">
<ul>
<?php wp_list_categories('depth=1&sort_column=menu_order&title_li='); ?>
</ul>
<div class="clear"></div>
</div><!--topMenu-->
<div class="grid_10" id="subMenu">
<ul>
<?php if (is_category()) {
$this_category = get_category($cat);
if (get_category_children($this_category->cat_ID) != "") {
echo "";
echo "";
wp_list_categories('orderby=id&show_count=0&title_li=
&use_desc_for_title=1&child_of='.$this_category->cat_ID);
echo "";}} ?>
</ul>
<div class="clear"></div>
</div><!--subMenu-->
I know the sub-menu disappears cause the code looks for the children of the sub-menu-item. But I can’t figure it out…
Any help is appriciated…
Arnii
]]>