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 9 months 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 9 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic