ThemeShaper Forums » Thematic

thematic menu - change the default mouseover text description

(6 posts)
  • Started 12 years ago by alx43
  • Latest reply from Technokinetics
  • This topic is resolved
  1. alx43

    Hi, I just installed thematic without a child theme. I would like to put in a more detailed text - like a short description for each menu item. The default thematic text displayed on mouseover is the same as the page title (menu item name). How can I change this?
    Thanx, Alex

    Posted 12 years ago #
  2. Hi,

    you could define a custom field for this and replace the title tag against the one listed in the custom field. Needs some experience in php and WordPress.


    Posted 12 years ago #
  3. alx43

    Hi Chris,
    I have the "All in one SEO pack" plugin installed and it gives me the option to add a different title to each page or post. When I put a descriptive page title using the plugin, the plugin automatically fills in the custom fields with the name "title" and the value of whatever title is. I checked the Wordpress codex and it explains that I also have to insert the line: <?php the_meta(); ?> into the loop - I assume that in this case is the loop of the Page Template - page.php, but the loop is not explicit in the page.php as it would be in a more basic theme (i.e. <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>)... Can you help me with this?
    Thanx, Alex

    Posted 12 years ago #
  4. Another plugin to handle exactly that would be Page Lists Plus:

    • Change the link text in Page lists to something other than a Page’s title
    • Change the title attribute in Page lists to something other than a Page’s title
    • Remove title attributes from Page lists completely (generally improves accessibility)
    • Remove specified Pages from Page lists
    • Unlink specified Pages in Page lists
    • Add a “Home” link at the start of your Page lists
    • Add a “Contact” email link at the end of your Page lists
    • Add class=”first_item” to the first item in your Page lists (useful if you want to use a Page list as a horizontal navigation menu with a separator image before all items except the first)
    • Add a custom class to any list item in your Page lists (useful if you want some links to be styled differently from others)
    • Add span tags inside all list items or anchors in Page lists (again, useful for styling)
    • Redirect links in Page lists to an alternative url (so to add a non-Page link to your Page lists, just create a blank Page and redirect the link to wherever you want it to go)
    • Add target=”_blank” to links in Page lists (so that they open a new browser window)
    • Add rel=”nofollow” to links in Page lists (to tell search engines not to follow the link, usually for SEO purposes)

    Huh? Why? Not sure about that one:

    Remove title attributes from Page lists completely (generally improves accessibility)

    Posted 12 years ago #
  5. alx43

    Thanks Manuel, problem solved

    Posted 12 years ago #
  6. Hi Manuel,

    As you asked, I just thought I'd offer an explanation of this: "Remove title attributes from Page lists completely (generally improves accessibility)".

    Title attributes are accessed in different ways by different users, but should be used to offer advisory information about the elements for which they are set. So if you use an acronym (e.g. "FAQ"), you might use a title attribute to explain what it means ("Frequently Asked Questions").

    By default, WP gives every link in a Page list a title attribute that simply duplicates the link text. That isn't advisory information, it's redundant information.

    For most users, this isn't a problem, because the content of the title attribute only appears as a tool-tip when a link is hovered over, which is no big deal. However, for a visually impaired user using a screen reader that reads out the link text followed by the title attribute, the repetition of every link is likely to be annoying.

    It's therefore best to remove the default title attributes, and only restore them when you have some advisory information to attach to a link. Page Lists Plus lets you do this (among other things).

    I hope that explains why this feature is there.


    - Tim

    Posted 12 years ago #

RSS feed for this topic


You must log in to post.