how to remove description from menu buttons?

I just inatalled it and used the Custom menus and i get no description Never the less.. This theme have a “disable description in Header Menu” feature. On Your wordpress menu go to: Graphene Options >> Display >> Navigation Menu Display Options.. Click the “disable description in Header Menu” And your done..

Admin top level menu, pointing to an external url

Just add your custom item into $menu instead of $submenu. Use here as a reference for parent menu structure. http://core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/menu.php Eg. add_action( ‘admin_menu’ , ‘admin_menu_wpse32975’ ); function admin_menu_wpse32975() { global $menu; $menu[9999] = array( __(‘My Menu’), ‘manage_options’, ‘http://www.google.com’, ”, ‘open-if-no-js menu-top’, ”, ‘div’ ); }

Add extra menu to theme

To answer my own question Both register_nav_menu() and register_nav_menus() are additive, ie they add to the existing menu set (as long as you use a different location identifier). You don’t need to redeclare an existing custom menu location that was created with either one of those calls.

How can I list posts by author?

This is a simpler solution, if you want a total control over the code and don’t want to use a query. $authors = get_users(‘role=author’); if(isset($authors) && !empty($authors)) { echo “<ul>”; foreach($authors as $author) { $posts = get_posts(array(‘author’=>$author->ID)); //if this author has posts, then include his name in the list otherwise don’t if(isset($posts) && !empty($posts)) { … Read more

How can I add a menu item to the admin area?

The code itself is fine. But you would need to activate the plug-in: you can’t simply place the file in the plug-ins directory. You will need to give the plug-in a ‘header’ too. See the Codex. Alternatively, place the code in your theme’s functions.php, but really it should be in a plug-in.

Adding new pages to Menu

Go into the dashboard and then to the pages menu. Add a page, give it a title of About Us. Do this for as many pages as you need. Then go to Appearance > Menus On the right fill in the Menu Name, you can name it anything (i.e. Main Menu, Primary) Over to the … Read more

How to Structure Pages and Subpages

You could go about the actual structuring of the pages 2 ways: Create a Ministries page, leave it empty, and use it for only organizational purposes and set the rest as children…probably not the best method Create a Ministries Category, then create the pages (with no parents) The menu is gonna work the same way … Read more

Change div background acording to the selected category

If you use wp_list_categories (see Codex), it automatically adds the classes cat-item,cat-item-{ID} and (to the current category being viewed) current-cat. (It also adds current-cat-parent to the parent of the current category). This should be enough to style any particular category a certain way, and style the current category a particlar way. However, you can obtain … Read more