Most Popular

cat_ID;

// Get games from this category
$games = get_posts($get_post_query.$cat_id);

// Check if we have some games in this category
if ( $games ) {
// There are some games.. Create the game box
get_template_part('index', get_option('fungames_box_design') );
}
} // END category loop

// Do some actions after game category boxes
do_action('fungames_after_boxes');

LEAVE A REPLY

Your email address will not be published.