WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
How to remove a popular post's title in WP popular post plugin? (2 posts)

  1. DhanyaAbraham
    Member
    Posted 1 year ago #

    Hi

    I need to insert only thumbnail in my popular post and I could done the same.But in the left hand side 'title 'is displaying . I don't want the same.

    Please help me to remove the title from post.

    Thanks
    Dhan

    http://wordpress.org/plugins/wordpress-popular-posts/

  2. masspamak
    Member
    Posted 1 year ago #

    I permanently removed the titles and text formated stuff around the popular thumbnails this way, first, backup the wordpress-popular-posts.php and wpp.css files.

    Then open wordpress-popular-posts.php and edit the line (around line 1234) adding:

    class="hideme"

    in the A tag

    so the line then should look something like this

    'title' => '<a class="hideme" href="'.$permalink.'"

    then update your wpp.css file by adding this code

    a.hideme {
    display: none;
    visibility: hidden;
    }

    This way you may have only thumbnails and no more any links around it. You will have to repeat this change as soon you will update your plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic