Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: Disabling tooltips
    Thread Starter steelsky

    (@steelsky)

    Much appreciated, apljdi.

    When you say function file, do you mean functions.php?
    Also, after I add this – don’t I have to “call upon” the function where needed?

    Forum: Fixing WordPress
    In reply to: Disabling tooltips
    Thread Starter steelsky

    (@steelsky)

    Is there any way to disable this? Like changing the wp_list_pages function or something?

    Forum: Fixing WordPress
    In reply to: Disabling tooltips
    Thread Starter steelsky

    (@steelsky)

    apljdi – Yes, it makes sense it’s a javascript thing. However, the javascript code most be somewhere in the WP files, no? Also, there must be a way to tell the browser not to present a tooltip.

    The URL is:
    https://adionim.com/WP/

    Notice the top tabs menu.
    Note that I use two browsers. In IE the tooltips appear, but in FF they don’t.

    I have found this piece of code in the theme editor:

    <?php
    if($options[‘categorytabs’]) {
    echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><a$2><span><span>$3</span></span>’, wp_list_categories(‘show_count=0&echo=0&exlude=181&title_li=’));
    }
    else {
    echo preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><a$2><span><span>$3</span></span>’, wp_list_pages(‘echo=0&orderby=name&title_li=&’));
    }
    ?>

    It controls the top tabs menu (in the header.php). I see there’s a call for “name&title”, but I don’t know how to tinker with it. Any suggestions on how to change this code (if it is indeed the issue)? Is these a way to change a page’s title without changing its name? Maybe accessing the database? Will it help?

    Forum: Fixing WordPress
    In reply to: Disabling tooltips
    Thread Starter steelsky

    (@steelsky)

    – disregard this (forgot to block the code). move to next post –

    Forum: Fixing WordPress
    In reply to: Disabling tooltips
    Thread Starter steelsky

    (@steelsky)

    Well, the thing is this – I have a header menu, which has links to pages. When going over each link, a sub-menu opens. The problem is that a tooltip also appears and covers the topmost sub-menu item.

    While I know this is a browser thing – it must get its information from the code. I also know that the text in the tooltip is the link/page title (so I don’t want to remove the title, of course).

    I bet somewhere in the WordPress files there’s a piece of code which tells the browser what to put in the tooltip. I wanna disable that so that the browser will not display the tooltip. Any thoughts?

Viewing 5 replies - 1 through 5 (of 5 total)