Comment on WordPress Nav Menu with Images by SEO Dave.
In Stallion 7 (next update, NOT released yet) I’ve hacked the code behind the Stallion Photo Navigation Menu so Categories, Tags, custom links any link can have an image associated with it.
I was wanting to add the ability to associate images with a Category etc… and use the image for the Stallion Photo Navigation Menu just like it currently works with the Posts and Pages in Stallion v6.2. This would be a real pain to code and wouldn’t work for custom links, so not an ideal solution anyway.
Realised it would be a simple case to use 5 default images rather than the current one “Hot Post” image and have the user upload their own images over the 5 default ones. It’s not as elegant as being able to use the built in WordPress image uploader, but it will work with any link which is more important than being pretty.
When Stallion 7 is released all you’d have to do to use Categories and/or Tags and/or Custom Links within the Stallion Photo Navigation Menu is create a Custom Menu under “Appearance” >> “Menus” adding 5 links (Categories, Tags, Custom Links, Pages, Posts, anything you want to link to) and use it in the “Photo Navigation Theme Location” (box on the left).
For Posts and Pages Stallion will still look for a “Photo Navigation Menu Image” which you can add by editing the Post/Page (same as it currently works in Stallion 6.2). If a “Photo Navigation Menu Image” isn’t found one of 5 default images will be used. For Categories, Tags, Custom Links a default image will always be used.
The default images are within the Stallion theme folder at (remember this is Stallion 6.3 information, so not available yet) :
/wp-content/themes/stallion-seo-theme/imagemenu/images/
Files 0.jpg to 4.jpg where
0.jpg = Image for link 1 1.jpg = Image for link 2 2.jpg = Image for link 3 3.jpg = Image for link 4 4.jpg = Image for link 5
For example if your 3rd link (from the left) of your Stallion Photo Navigation Menu is a Category it will use image 2.jpg. All you have to do to have your own image for that link rather than the default is create an image 300px by 200px called 2.jpg. Using FTP upload your 2.jpg image to
/wp-content/themes/stallion-seo-theme/imagemenu/images/2.jpg
Repeat for the other link/images and you’ll have a pretty image based navigation menu.
David
More Comments by SEO Dave
WordPress Menu Images
Fixing Broken HTML Code
Checked your site, looks like broken code, your footer area is loading in the sidebar as well.
Go to http://validator.w3.org/ and run your site through the validator. There’s a lot of errors, but most are not a problem (all the Facebook …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WordPress WP Nav Menu Broken
Sounds like broken code in a post, could be anything from some an extra opening or closing div in a post that’s messing with the themes code.
What’s the URL?
David …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
Stallion Child Theme Options
No the Stallion Child Theme options are independent of the main Stallion Theme options.
When you first activate the Example Stallion Child Theme it’s not like activating Stallion for the first time, your current Stallion options aren’t changed.
Only Custom Menus under …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WP Theme Import/Export Options
Having the ability to export and import theme settings is on the list of features to add.
Currently under the main Stallion theme Options page near the bottom are default settings that currently link to two files that can be edited …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
Timthumb.php You are not allowed to fetch images from an external website
Checked your website after writing the above :-)
I see you are trying to link to another domain for the Photo Navigation menu images and it’s not working. Simple solution would be to upload the images to the domain you are …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
Timthumb.php and External Image Sources
Glad you figured it out and thanks for letting me know so I didn’t have to try to figure out the issue (in theory anyway, can’t help myself :-)).
The Stallion Photo Navigation menu does use Timthumb.php to cache the thumbnails, …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WordPress Navigation Menu CSS
There was a ‘bug’ in the early Stallion 6.0 CSS menu code that meant the drop down menu didn’t work correctly in earlier version of Internet Explorer (terrible browser).
I rebuilt the CSS and code using the TwentyEleven theme code/CSS as …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WordPress Custom Menu Usage
Under Stallion Theme >> Layout Options set
Navigation Menu Primary : Navigation Menu OFF
Navigation Menu Secondary : Secondary Navigation Menu ON
Under Appearance >> Menus
Use the custom menu you have set for “Primary Navigation” for the “Secondary Navigation” area. You can also …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WP Photo Navigation Menu Tutorial
I’ve added the information to the tutorial above now.
One of the tutorials I forgot to update with the new features in Stallion 6.1.
David …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
How to Turn Off WordPress Navigation Menu
Under your WordPress Dashboard
“Stallion Theme” >> “Layout Options”
“Navigation Menu” : “Navigation Menu OFF”
You can also build a custom navigation menu (add any links you like) with Stallion via “Appearance” >> “Menus”, the navigation menu on this site is built that …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WP Navmenu CSS Broken in IE7
Ran this site through the new IE emulator and in IE7 tests I see what you mean now. I got the code from TwentyTen, though had to modify it a lot because it was interacting with the main layout. Looks …
Continue Reading WordPress Responsive Nav Menu
WordPress Menu Images
WordPress Navigation Menu CSS Styling
That’s normal, looks the same in Firefox.
When I was creating the navigation menu code I tried for directly underneath, but that’s how it came out and I liked the slight offset, so didn’t adjust the CSS.
David …
Continue Reading WordPress Responsive Nav Menu