One of the most frequent questions we get asked is how to customize the order of the homepage category summaries on Mimbo Pro. With the power of child themes and hooks this is actually incredibly straight forward.
It takes just 5 lines of code, placed in your functions.php file, to change your homepage order.
function bm_alterCategoryOrder($settings) {
$settings['category'] = array(1,2,3);
return $settings;
}
add_filter('bm_categorySummaryDetails','bm_alterCategoryOrder');
All you have to do to set the different category orders is swap the 1,2,3 above for a comma separated list of category ids.
Follow us on Twitter!
Like us on Facebook!
. . .
Elemental is a clean & powerful blog framework for WordPress packed with options for customizable layouts, typography, navigation, widgets, page templates and more.
Recent Comments