Tagged: sidebar navigation sibling menu
I’m working with Eunoia, my 2nd experience with a Kriesi theme. Love it and appreciate the support forums!
Similar to this post (the only really similar one I could find), https://kriesi.at/support/topic/moving-sidebar-navigation, I want my other sidebar widgets to appear first in the sidebar, and be followed by the automatic navigation of the page’s siblings (so it would be last in position in the sidebar, instead of first).
I’ve tried several variations of moving the chunk of code within sidebar.php that seems like the logical chunk to move (lines 77 – 106, which are different than the line numbers for what the other poster was doing), including moving it to where you suggest in the above-mentioned post. The only result I get is making the sibling-navigation disappear entirely. So it doesn’t appear that I’m breaking the code when I move the chunk (like syntax or missing curly brace or something) because my other sidebar widgets do appear at the top, it’s just that the sibling-navigation is missing entirely, no matter where I move that code chunk in sidebar.php.
Help would be appreciated. Thanks!
The only line you should move is 75 on that page which looks like
echo apply_filters('avia_sidebar_menu_filter', $sidebar_menu);
and place it on line 105 which is empty and comes before a line that looks like
//default dummy sidebar
The topic ‘Moving position of automatic sidebar navigation’ is closed to new replies.