hey sry I have this prob can you help me solve this I know very little thanks filmscope.net
IS IT THIS THAT i EDIT?
function CPTOrderPosts($orderBy)
{
global $wpdb;
$options = get_option(‘cpto_options’);
if (is_admin())
{
if ($options[‘adminsort’] == “1”)
$orderBy = “{$wpdb->posts}.menu_order, {$wpdb->posts}.post_date DESC”;
}
else
{
if ($options[‘autosort’] == “1”)
$orderBy = “{$wpdb->posts}.menu_order, {$wpdb->posts}.post_date DESC”;
}
return($orderBy);
your help[ will be appreciated…
Thanks for the replay, but I am not sure what you mean do I have to edit it in the Plugin – options.php
<pre class=”example”>
$args = array(
‘post_type’ => ‘feature’,
‘orderby’ => ‘menu_order’,
‘order’ => ‘DESC’
);
or do I need to do something else??
thanks and sry for being so stupid…