RaiderKat
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsSame..no author no top nav
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorslol which one?
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsnow the top menu isnt showing and the Authors arent showing
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsthe menus are working but the Authors arent showing up
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsNo..i think there has to be the add filters on there
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsParse error: syntax error, unexpected ‘}’ in /home2/ksamoun/public_html/wp-content/themes/twentyeleven/functions.php on line 2920
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsNo..still not working..so odd! Should only effect the Primary menu..
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsk done
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsDone
Forum: Fixing WordPress
In reply to: Help with wp_list_authorswhen i have the code in there all that shows up for the secondary menu is this
<div class="menu-top_menu-container"><ul id="menu-top_menu" class="menu"></ul></div>no list
The primary menu works fine, and the authors are added to the menu
If i take the code back out..they both work
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorshttp://www.fansagainstviolence.org/
If you look up at the top there should be a menu with the Home, about and contact buttons..but they disappear when i put that code in
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsSo i found a few other things and played around with them, here is the code I’m using.
function wps_nav_authors($items, $args){ if( $args->theme_location == 'primary' ) return $items . '<li><a href="#">Authors</a><ul class="sub-menu"><li>' . wp_list_authors('show_fullname=1&optioncount=0&orderby=post_count&order=DESC&number=8&echo=0') . '</li></ul></li>'; } add_filter('wp_nav_menu_items','wps_nav_authors', 10, 2);it actually seems to be working great except..for some reason, it makes my second menu disappear.
I have two menus on my page, one at the top named top_menu and the main navigate(where i want to put the authors named main_menu. Any idea why it would make my top menu disappear? The container is still there, but the links have disappeared.
Thanks so much for your help. You definitely put me in the right direction!
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsThe HTML and the CSS I can handle, not sure if i can figure out the javascript code. Havent used javascript in forever! But thank you that was very helpful! I’ll see if I can figure out the javascript code to use!
Thanks so much for your help!
Forum: Fixing WordPress
In reply to: Creating a dropdown in menu that lists authorsThanks for the response. I think that is kind of what i’m looking for but i want to add the dropdown list to the main navigation menu so it would be like this: (you click on contributor and the drop down menu appears)
Home Contributors About Contact
drop down menuI’m not sure how to add that functionality as the WordPress “Menus” only gives posts, pages and categories??
Thanks again!
Forum: Fixing WordPress
In reply to: Custom Post type, display text from editorI figured it out:) have to use get_the_content(); instead of the_content();