WordPress Project Widgets

Hi,

I am using a wordpress theme which comes with its own widgets.

my site is: iam.hellokpop.com

For the tab, “Most Comment” I’ve added a customize code so that only top comments from the last 24 hrs will be visible.

However this code has affected my widgets on the homepage which doesnt allow it to appear on homepage and doesn’t allow the widget to appear twice in different places at the same time (home page + inside post).

The code is:
<?php function filter_where($where = ”) {$where .= ” AND post_date > ‘” . date(‘Y-m-d H:i:s’, strtotime(‘-24 hours’)) . “‘”;return$where;}add_filter(‘posts_where’, ‘filter_where’);query_posts(‘cat=’.$theme_exclude_homepage_posts.’&orderby=comment_count&order=desc&posts_per_page=’.$theme_homepage_posts_per_page); while (have_posts()) : the_post(); ?>

So what I need is the widget to work whilst having the customize code for top comments in the last 24 hrs.

Lastly, Im trying to align my Facebook and Twitter button so that its on the same row as ‘By Admin on 11 Nov…”

example:
http://i55.tinypic.com/2hi146g.jpg

Thanks 🙂 Looking for the most fair price and i will be automatically disregard unfair pricing.

Let the cheapest one win 😀

Leave a Reply

Your email address will not be published. Required fields are marked *