WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [WP-PostRatings] How delete title-tag from code? (5 posts)

  1. hpguru
    Member
    Posted 5 years ago #

    I have installed a WP plugin PostRatings. I like this but i would delete a title-tag from code. How?

    Delete: title="5 votes, average: 2.4 out of 5" etc.

    From: <img src="http://hpguru.net/wp-content/plugins/wp-postratings/images/stars/rating_on.gif" alt="5 votes, average: 2.4 out of 5" title="5 votes, average: 2.4 out of 5" class="post-ratings-image" /> etc. code

    Sorry bad English. Thanks all!

  2. hpguru
    Member
    Posted 5 years ago #

    Ep-PostRatings Ratings Templates don't have a template for delete this title-tag.

  3. Lester Chan
    Member
    Posted 5 years ago #

    Yeap, you have to modify the source code.

  4. hpguru
    Member
    Posted 5 years ago #

    I check source code. Thanks for reply.

  5. hpguru
    Member
    Posted 5 years ago #

    I delete from php

    } else {
    		$image_alt = sprintf(__ngettext('%s &auml:&auml;ni', '%s &auml;&auml;nt&auml;', number_format_i18n($post_ratings_users), 'wp-postratings'), number_format_i18n($post_ratings_users)).', '.__('keskiarvo', 'wp-postratings').': '.$post_ratings_average.' '.__('/', 'wp-postratings').' '.$ratings_max;

    and its work. Title-tag delete now.

Topic Closed

This topic has been closed to new replies.

About this Topic