Give help. Get help.

  • # March 8, 2013 at 1:48 pm

    I’m using functions.php to strip the auto-generated title attributes from links and have got most to work, but there are still some links that I can’t find the right functions to call to strip their title attributes; for example, the links for “Post a Comment,” “Recent Posts,” and “Archives.” Any help would be greatly appreciated.

    P.S. I know the title can be suppressed with js, but it’s still in the code.

    Below is the code I’m currently using in my functions.php:

    // Remove title attributes

    function remove_title_attributes($input) {
    return preg_replace(‘/s*titles*=s*([“‘]).*?1/’, ”, $input);
    add_filter( ‘the_category’, ‘remove_title_attributes’ );
    add_filter( ‘wp_list_categories’, ‘remove_title_attributes’ );
    add_filter( ‘get_the_category’, ‘remove_title_attributes’ );
    add_filter( ‘wp_list_pages’, ‘remove_title_attributes’ );

    # March 9, 2013 at 4:16 am

    Go to admin panel > pages > allpages > quick edit > tick uncheck in allow

    # March 9, 2013 at 9:58 am

    That has nothing to do with the question I asked.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.