Make menu items open in new tab/page

Go to Appearance > Menu click screen options (near top of page) tick “Link target” Now, when you click a menu item drop down, you can choose what the link target is (you want to choose New window or tab)

Page menu with one image link instead of page title?

jQuery Solution if you’re using jQuery you can use: var $li = jQuery(‘ul > li:last-child’,’#nav1′); to select your last menu child. Then after you select it you can chain it with another function: $li.wrapInner(‘<input type=”button” value=”My Button!”>’); Then all together: jQuery(document).ready(function() { // Cache your selection var $li = jQuery(‘ul > li:last-child’,’#nav1′); // Replace it … Read more

wp_nav_menu and its fallback

The default fallback menu is created with wp_page_menu() function and if you want to customize it the you need to create your own fallback function : function my_fallback_menu(){ $args =array(‘whatever’); wp_page_menu($args); } and then call that function in your wp_nav_menu call as the fallback: wp_nav_menu(array( ‘theme_location’ => ‘mainnav’, ‘container’ => ‘nav’, ‘container_id’ => ‘mainnav’, ‘container_class’ … Read more

How to set classname for tag in wordpress menu?

You can use the CSS class for the menu. Under “Screen Options”, flag “CSS Classes“, under “Show Advanced Properties”. Then, for every menu item, you have an additional input that is named “CSS Classes”

Using front-page.php need new blog page

To use a static Front Page, you need to do the following: Create two static Pages, one for your front page content, and one for your blog posts index; their names are entirely arbitrary, but for our purposes, let’s call them “Front Page” and “Blog” Go to Dashboard -> Settings -> Reading Set “Front Page … Read more

Custom Post Menu link reverting to Blog menu item

I’m just shooting in the dark here, but what i think is going on is your menu “thinks” its on the blog page when its really on the “CPT” page? is that about right? if so then you need to select a blog page in the admin section. Under the Settings menu click on the … Read more