Add League Table widget and display future events

This commit is contained in:
Brian Miyaji
2014-02-02 05:23:43 +11:00
parent bd8561cdba
commit eca5c08d16
7 changed files with 85 additions and 27 deletions

View File

@@ -302,8 +302,8 @@ if ( !function_exists( 'sportspress_dropdown_pages' ) ) {
}
}
if ( !function_exists( 'sportspress_the_posts' ) ) {
function sportspress_the_posts( $post_id = null, $meta = 'post' ) {
if ( !function_exists( 'sportspress_posts' ) ) {
function sportspress_posts( $post_id = null, $meta = 'post' ) {
if ( ! isset( $post_id ) )
global $post_id;
$ids = get_post_meta( $post_id, $meta, false );