echo mb_get_google_webfonts_link($megamag_options_appearance['font_main']); } ?> <?php if ($megamag_options_appearance['font_nav'][0] != "megamag_default") { echo mb_get_google_webfonts_link($megamag_options_appearance['font_nav']); } ?> <?php if ($megamag_options_appearance['font_widget_headings'][0] != "megamag_default") { echo mb_get_google_webfonts_link($megamag_options_appearance['font_widget_headings']); } ?> <?php if ($megamag_options_appearance['font_post_headings'][0] != "megamag_default") { echo mb_get_google_webfonts_link($megamag_options_appearance['font_post_headings']); } ?> <?php wp_enqueue_script('jquery'); ?> <?php wp_enqueue_script('megamag_script', get_template_directory_uri() . '/js/scripts.js'); ?> <?php wp_enqueue_script('nivo_slider', get_template_directory_uri() . '/js/jquery.nivo.slider.pack.js'); ?> <?php /* Support threaded comments*/
if ($canon_options_appearance['font_heading'][0] != "canon_default") { echo mb_get_google_webfonts_link($canon_options_appearance['font_heading']); } } ?> <?php if (isset($canon_options_appearance['font_nav'][0])) { if ($canon_options_appearance['font_nav'][0] != "canon_default") { echo mb_get_google_webfonts_link($canon_options_appearance['font_nav']); } } ?> <?php if (isset($canon_options_appearance['font_widget_footer'][0])) { if ($canon_options_appearance['font_widget_footer'][0] != "canon_default") { echo mb_get_google_webfonts_link($canon_options_appearance['font_widget_footer']); } } ?> <!-- OPEN GRAPH --> <?php if ($canon_options['hide_theme_og'] != "checked" && $post) { printf('<meta property="og:type" content="article" />'); printf('<meta property="og:url" content="http://%s"/>', $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); printf('<meta property="og:site_name" content="%s" />', esc_attr(get_bloginfo('name'))); $og_title = mb_get_page_type() == 'single' ? $post->post_title : get_bloginfo('name'); printf('<meta property="og:title" content="%s" />', esc_attr($og_title)); $og_description = !empty($post->post_content) ? mb_make_excerpt($post->post_content, 350, true) : get_bloginfo('description'); printf('<meta property="og:description" content="%s" />', esc_attr($og_description));