PARTIAL SOLUTION:
News posts show up alphabetically a-z, instead of by date new-old.
I used some code from Carlos' alphabetical tag sorting.
In: news_manager > inc > function.php
Replace : ---------------------------------------------------------------------------
foreach ($data->item as $item) {
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
$posts[] = $item;
}
return $posts;
}
with: ------------------------------------------------------------------------------
foreach ($data->item as $item) {
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
$posts[] = $item;
}
// START Post Title Alphabetical Sorting
function nm_alphabeticPostTitles($a, $b) {
if (function_exists('mb_strtolower'))
return (mb_strtolower($a->title) < mb_strtolower($b->title)) ? -1 : 1;
else
return (strtolower($a->title) < strtolower($b->title)) ? -1 : 1;
}
usort($posts, 'nm_alphabeticPostTitles');
// END Post Title Alphabetical Sorting
return $posts;
}
-----------------------------------------------------------------------------------
BTW, it works in the NM clones as well. Just replace all instances of nm_ with nmclone*
News posts show up alphabetically a-z, instead of by date new-old.
I used some code from Carlos' alphabetical tag sorting.
In: news_manager > inc > function.php
Replace : ---------------------------------------------------------------------------
foreach ($data->item as $item) {
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
$posts[] = $item;
}
return $posts;
}
with: ------------------------------------------------------------------------------
foreach ($data->item as $item) {
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
$posts[] = $item;
}
// START Post Title Alphabetical Sorting
function nm_alphabeticPostTitles($a, $b) {
if (function_exists('mb_strtolower'))
return (mb_strtolower($a->title) < mb_strtolower($b->title)) ? -1 : 1;
else
return (strtolower($a->title) < strtolower($b->title)) ? -1 : 1;
}
usort($posts, 'nm_alphabeticPostTitles');
// END Post Title Alphabetical Sorting
return $posts;
}
-----------------------------------------------------------------------------------
BTW, it works in the NM clones as well. Just replace all instances of nm_ with nmclone*