span tag rendered inside menu title tags - bug?
Little bug/quirk I noticed in 3.7.3 (may exist in previous versions; I have not verified):
Header Area -> Menu 1 -> Title tags in Page Menu Bar - Include a "title" tag for each item in the page menu? These will pop up when hovering over a menu item When set to "Yes", menu entries are generated as follows (note the span tags inside the a title tags): Code:
<li class="page_item page-item-XXX"><a href="http://.../xxx" title="<span>XXX</span>"><span>XXX</span></a></li> Code:
<li class="page_item page-item-XXX"><a href="http://.../xxx" title="XXX"><span>XXX</span></a></li> |
Doesn't happen to me in a plain vanilla site (WP 3.2.1 Atahualpa 3.7.1)
it is probably caused by a plugin - try disabling all your plugins and see wht happens. |
Good call. It appears to be related to All-In-One SEO Pack.
However, perhaps even more curiously, the Atahualpa feature (title tags in menu bar) doesn't appear to work at all without AIO SEO activated. I set up a quick dev site with a fresh WP 3.3.1 and Atahualpa 3.7.3, and toggling the "Title Tags in Menu Bar" option made *no difference* in the generated HTML (neither had any title tags in the menu bar at all). I installed AIO SEO, and the title tags appeared (including the span tags). I deactivated AIO SEO, and the behavior went back to no title tags at all, regardless of the "Title Tags in Menu Bar" setting. Behavior was unaffected by toggling the "Use Bytes For All SEO options" toggle as well. |
Works fine for me - make sure you are using the Atahualpa menu not a WordPress Custom Menu
If you are using the WordPress Custom menu, you have to add your 'titles' manually in the 'Title Attribute' field for each menu item |
I have the same issue as cdrice (clean dev site). I have noticed this a while back after one of the updates to Atahualpa (can't quite recall which one, been a year or so). In fact, here is the link: http://www.mlmrogue.com/
Theme is Atahualpa 3.7.7, no plugins and title tags are set to "yes": http://img140.imageshack.us/img140/6...53ead7cdd7.png No custom menus either: http://img13.imageshack.us/img13/900...8689704fe8.png Code shows no titles appended to the menu links whether the "Title tags in Page Menu Bar" option is set to Yes or No. My first thought was to change the "Use Post / Page Options" to "Yes", but that didn't make any dif either. |
turns out that only the first menu item is getting a title and it seems (in my testing) to have been this way since at least 3.4.3. I'll look again tomorrow if my head feels better (17mth grandson has been over since Sunday night and he was so nice as to give me his cold)
|
It seems this has never worked. The first menu item, gets the 'site' title but that's it. If you use a WP custom menu and fill in the tags then they show up.
In the theme it doesn't make sense to have the titles since there is no option to add a title for the menu item so the only thing the theme could do is display the page name which is the menu label. |
All times are GMT -6. The time now is 06:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.