// BASE DEFINES define('_HOME_LABEL_', 'Home'); define('_LIMIT_', 10); define('BREAKING NEWS', 'breaking news'); define('FEATURED POSTS', 'featured post'); define('BLOCK_TITLE_LEN', 65); define('ZIP_NAME', 'cosmomagazine'); // LIBRARY SETTINGS include 'lib/db.php'; include 'lib/main.php'; // INIT ADMIN SIDE SETTINGS if (function_exists('add_theme_support')) { add_theme_support('automatic-feed-links'); add_theme_support('post-thumbnails'); } admin_options::Init(); if (!isset($content_width)) { $content_width = 620; } /*New version check*/ if (is_admin()) { function versionNotify() { echo api_call::compareVersions(); } // Add hook for admin <head></head> add_action('admin_head', 'versionNotify'); } if (function_exists('add_theme_support')) { add_theme_support('automatic-feed-links'); add_theme_support('post-thumbnails');