View Single Post
  #127  
Old April 29th, 2013, 07:46 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Quote:
Originally Posted by DWessels View Post
Hi Eric,

Apologies, I think I haven't explained myself very well. Removing my "Store" page from my Menu settings is precisely what I've done. But now my remaining "Store" page (the one with the dropdown menu) appears in an undesirable position on my general site layout which I have no control over.

I.E. I want to move it to the right hand side of my "Home" tab, but it (by default) is appearing on the far end of navigation bar, and I have no idea on how to reposition it.

- Dan
Hi Dan,

I see what you mean now.

To put "Store" on the left, change the code in your functions.php file to:

PHP Code:
function dfr_menu_items($items$args) { 
    if (
$args->theme_location == 'primary') { 
        
$cats str_replace(array("<div>","</div>"), array("",""), datafeedr_tag('Category List?c=%ci')); 
        
$items $cats $items
    } 
    return 
$items

add_filter'wp_nav_menu_items''dfr_menu_items'10); 
Eric