WordPress.org

Forums

WordPress Popular Posts
[resolved] [Plugin: WordPress Popular Posts] Update to 2.3.0 breaks css (8 posts)

  1. Okoth1
    Member
    Posted 2 years ago #

    Because the plugin class changed from .popular-posts to .wpp-popular-posts.

    I changed it in the css file and now it's working of course, but it would have been good to mention.

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

  2. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Oh, you're totally right. I was changing stuff within the plugin, trying a few things and at some point I changed that. Will revert back to popular-posts in the upcoming update.

    Thanks for pointing it out!

  3. Okoth1
    Member
    Posted 2 years ago #

    Or leave it, because then I have to change the css again. If I am the only one who complains about it...

  4. Sean
    Member
    Posted 2 years ago #

    Is there a step by step way for us to fix this in the mean time?

    I tried restoring the v2.2.1 style.css file and that didn't work for me.

  5. Okoth1
    Member
    Posted 2 years ago #

    It's depending on how you use the css and that can be different to anybody. So it's a bit difficult to give a general answer.

  6. Sean
    Member
    Posted 2 years ago #

    Thanks for your reply.

    That's a bummer, It's broken on my site and since I don't know CSS and hired a designer he would probably charge me a fee for "tweaks" if he even has time to do it...

    Would reverting/downgrading the entire plugin to 2.2.1 fix the CSS issue, or is this something that needs to be changed manually? I have the popular post widget right in the top of my sidebar and it's ugly without css...

  7. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi guys,

    Yes, it is easily fixable. Using a text editor such as Dreamweaver or Notepad, find this line:

    $widget_ops = array( 'classname' => 'wpp-popular-posts', 'description' => __('The most Popular Posts on your blog.', 'wordpress-popular-posts') );

    ... and change it to:

    $widget_ops = array( 'classname' => 'popular-posts', 'description' => __('The most Popular Posts on your blog.', 'wordpress-popular-posts') );

    Save changes and you're done!

    Next release of the plugin, which will be available soon, will have this fix already.

  8. Sean
    Member
    Posted 2 years ago #

    Thanks H├ęctor, very easy fix indeed and everything is working perfectly once again :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.