Someone can correct this code for running with wp 2.7 ?
-
I’ll be very happy if someone help me to can correct this code:
if ($category != all) { $cats = "AND '$wpdb->link2cat'.category_id = $category"; } $results = $wpdb->get_results(" SELECT DISTINCT link_url, link_name, link_image, link_description, link_rss FROM '$wpdb->links' LEFT JOIN '$wpdb->link2cat' ON ('$wpdb->links'.link_id = '$wpdb->link2cat'.link_id) WHERE link_visible = 'Y' $cats ORDER BY '$wpdb->links'.link_$order $sort $limit");thankss
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Someone can correct this code for running with wp 2.7 ?’ is closed to new replies.