How do I remove the permalink from appearing when hovering over blog title and leave a comment ?

  • Anonymous

    #39742

    Keep in mind that the above code removes title attribute from all anchor tags in #content-main div. Here is a better code,

    <script type="text/javascript">
    jQuery(document).ready(function($) {
    $(".post-title a, .comment-link a").attr('title', '');
    });
    </script>

    Also remove 'Permalink to %s' => '&nbsp;' from PHP function.

    Anonymous

    #39743

    ok I replaced the code in graphene advance options with your new one and now my functions looks like this

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Category Archive: <span>%s</span>' => 'Latest Articles from '<em><span>%s</span></em>' ',

    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    Thank You

Viewing 2 posts - 11 through 12 (of 12 total)

  • 1
  • 2
  • You must be logged in to reply to this topic.