View::html("<div class='clearfix'>{$categories}</div>"); //WP::clearTemplate('category-list'); }); Router::get(WP::path() . 'category/{category}', function ($category) { $c = array(); $c['Category'] = 'category/'; $c[$category] = 'category/' . $category; WP::printBreadCrumbs($c); WP::category($category); })->where('category', 'alpha_numeric'); Router::get(WP::path() . 'author/', function () { $c = array(); $c['Author'] = 'author/'; WP::printBreadCrumbs($c); WP::template('author-list', '<a class="wp-author-list" href="{{$path}}author/{{$user_nicename}}">{{$display_name}}</a>'); $authors = WP::topAuthors(10); View::html("<div class='clearfix'>{$authors}</div>"); WP::clearTemplate('author-list'); }); Router::get(WP::path() . 'tag/{tag}/page/{currentPage}', function ($tag, $currentPage) { $c = array(); $c['Tag'] = 'tag/'; $c[$tag] = 'tag/' . $tag; WP::printBreadCrumbs($c); Data::get()->set('current-page', $currentPage); WP::tag($tag); })->where(array('tag' => 'alpha_numeric', 'currentPage' => 'integer')); Router::get(WP::path() . 'tag/{tag}', function ($tag) { $c = array(); $c['Tag'] = 'tag/'; $c[$tag] = 'tag/' . $tag;