WordPress.org

Ready to get started?Download WordPress

Forums

Menu order suddenly not working (3 posts)

  1. anothersadlovesong
    Member
    Posted 2 years ago #

    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?

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I am currently working with Oxford to review the current WP based definition of 'suddenly'

  3. anothersadlovesong
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic