Support » Plugin: WordPress.com Popular Posts » [Plugin: WordPress.com Popular Posts] Boo for switching wppp_list to a class

  • wppp.php line 209 went from id="wppp_list" to class='wppp_list'

    and broke my jQuery code (which requires an ID) on http://gregrickaby.com

    Is there a way to switch it back? I tried list_tag without success.

    <?php WPPP_show_popular_posts( "list_tag=wppp_list&title=&number=5&days=7&format=<a href='%post_permalink%' title='%post_title_attribute%'>%post_title%</a><span class='trending-bar'><span class='trending-count'>%post_views%</span></span>" );?>

    (in the mean time, I hacked wppp.php and added the ID back)

Viewing 1 replies (of 1 total)
  • Plugin Author frasten

    (@frasten)

    Hi, the switch from ID to class was introduced to allow multiple widgets at the same time (you can’t have multiple equal IDs on the same page).
    However, looking at the source of your page, I think that using #trending-posts as ID, it should work the same.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress.com Popular Posts] Boo for switching wppp_list to a class’ is closed to new replies.