infinity scroll bug?
-
function query_time_filter( $where, $query ) { global $wpdb; $operator = 'ASC' == $query->get( 'order' ) ? '>' : '<'; // Construct the date query using our timestamp $clause = $wpdb->prepare( " AND post_date_gmt {$operator} %s", self::set_last_post_time() ); $where .= apply_filters( 'infinite_scroll_posts_where', $clause, $query, $operator, self::set_last_post_time() ); return $where; }
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
post_date_gmt????
{$wpdb->prefix}???
where is table name and db prefix?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘infinity scroll bug?’ is closed to new replies.