Hi. Using a plugin to list posts in a category. The problem is that it lists in WP's default order, and not the order StickyPostOrderer has created. In particular, it has created a new DB table called um wp_croer_posts with croer_Id, post_id, cat_Id, and post_rank (the new rank).
Okay. Let me show you the WordPress Category Posts code real quick:
function wp_cat_posts( $catID = 0 ) {
$croer_list = $_POST;
$catID = (int) $catID;
$posts = get_posts(array('category' => $catID, 'numberposts' => -1, 'orderby' => 'category'));
foreach( (array) $posts as $post ) {
echo '<a>ID) . '">' . $post->post_title . '</a>';
}
}
See the 'orderby' clause? I've tried changing it the other available options, but it doesn't work. So SOMEHOW I have to like extract the page-rank croer thing and make it work with this code. But how? I AM NOT A PHP expert. I tried studying programming in college, and I failed miserably. Someone please help.
I would really appreciate it, and be willing to pay you. Tnx!