$(document).ready(function(){ //Add this inside $(document).ready(function(){ //Find out if a category list exists on the page if( $('.postsbycategory-block').length != 0 ){ // Create empty array for later use var categories = []; // Loop through each list item and get its name $('.postsbycategory-block ul li').each(function () { categories.push({ categoryName: $(this).find('span.name').html(), listItem: $(this) }); }); // Sort the array by name categories.sort(function(a,b) { // Ensure a case-insensitive sort var c = a.categoryName.toUpperCase(); var d = b.categoryName.toUpperCase(); return (c > d) ? 1 : ((d > c) ? -1 : 0); }); // Loop though each in order and move to end of HTML list. // That way, the first alphabetically ends up on top $.each(categories, function(index, object){ object.listItem.appendTo(object.listItem.parent()); }); } });

Contact Krystal



123 Street Avenue, City Town, 99999

(123) 555-6789



You can set your address, phone number, email and site description in the settings tab.
Link to read me page with more information.



I provide mothers with the support, encouragement, and tools to lose stubborn baby weight permanently. Join the community of mothers who are saying Bye Bye to Baby Weight by following a holistic weight loss strategy.


Become the hottest mama in town

Helping you find more energy and lose weight with a whole foods diet. Giving you the ability to live a more balanced life with lifestyle coaching. Showing you that getting fit doesn't equal pain by teaching you about reasonable exercise.