WordPress.org

Support

Support » How-To and Troubleshooting » Menu order suddenly not working

Menu order suddenly not working

  • Greetings, I just took 1 wordpress site and split it into two separate ones for different physical locations of the same small business.

    It’s been quite a while since we set up the first website, however I’m 99% certain that widgets worked just fine.

    Now all the sudden we can’t change menu order for love or money, they are ONLY alphabetical. Also, the template says there are no widgets defined.

    Here is my sidebar.php file code, certainly seems widget-ready to me:

    <div id="Sidebar">
    
    	<?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    			<a href="http://www.THISLINKSTOANEXTERNALSITE.com/" target="_blank" >
    	<img src="http://www.example.com/shop.png" alt="Shop now at Web Store!"/> </a>
    	<br><br><br>
    
    	<div id="Menu">
    		<ul>
    
    		<?php
    		$i = 0;
    		$links = get_bookmarks('orderby=description&category_name=Menu');
    			foreach ($links as $link) {
    			echo '<li><a href="'.$link->link_url.'">'.$link->link_name.'</a> </li>';
    			}
    
    		?>
    		</ul>
    
    	</div>
    	<?php endif; ?>
    	<br><br><br>

    Editing descriptions in the links menu does nothing, neither does editing the order in individual pages. Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am currently working with Oxford to review the current WP based definition of ‘suddenly’

    Not sure what that means, but I fixed the problem, it was easy and I’m silly. IDK if orderby=description no longer is an included function, or what, but we changed it to menu_order and all is well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu order suddenly not working’ is closed to new replies.