<?php /** * Template Name: Faves **/ get_header(); $faves = new FavesAdmin(); if (is_user_logged_in()) { if ('sort' == $_REQUEST['action']) { $faves->sort($_REQUEST); } } ?> <!-- content --> <div id="content"> <?php if (have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <!-- page --> <div class="page"> <h1><?php the_title();
<?php /** * Template Name: Faves **/ get_header(); if (is_user_logged_in()) { if ('sort' == $_REQUEST['action']) { FavesAdmin::sort($_REQUEST); } } ?> <!-- content --> <div id="content"> <?php if (have_posts()) { ?> <?php while (have_posts()) { the_post(); ?> <!-- page --> <div class="page"> <h1><?php the_title(); ?>