> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <meta content="minimum-scale=1.0, width=device-width, maximum-scale=0.6667, user-scalable=no" name="viewport" /> <meta name="apple-mobile-web-app-capable" content="no"> <title><?php bp_page_title(); ?> </title> <meta name="generator" content="WordPress <?php bloginfo('version'); ?> " /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?> " type="text/css" media="screen" /> <?php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bp_page_title() ?></title> <?php do_action( 'bp_head' ) ?> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" /> <?php endif; ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
function pagelines_head_common() { /* Title Metatag */ echo "\n<title>"; if (pagelines_bbpress_forum()) { bb_title(); } elseif (pagelines_is_buddypress_page()) { bp_page_title(); } else { if (is_front_page()) { echo get_bloginfo('name'); } else { wp_title(''); } } echo "</title>\n"; if (!VDEV) { echo "<!-- Platform WordPress Framework By PageLines - www.PageLines.com -->\n\n"; } /* Meta Images */ if (pagelines_option('pagelines_favicon')) { echo '<link rel="shortcut icon" href="' . pagelines_option('pagelines_favicon') . '" type="image/x-icon" />'; } if (pagelines_option('pagelines_touchicon')) { echo '<link rel="apple-touch-icon" href="' . pagelines_option('pagelines_touchicon') . '" />'; } ?> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?> ; charset=<?php bloginfo('charset'); ?> " /> <link rel="profile" href="http://gmpg.org/xfn/11" /> <meta name="generator" content="WordPress <?php bloginfo('version'); // For stats in WordPress ?> " /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?> " /> <?php if (pagelines_option('gfonts')) { ?> <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=<?php print_pagelines_option('gfonts_families', 'molengo'); ?> "> <?php } if (pagelines_bbpress_forum()) { // Load bbPress headers bb_feed_head(); bb_head(); echo '<link rel="stylesheet" href="'; bb_stylesheet_uri(); echo '" type="text/css" />'; // Enqueued Stuff doesn't show in bbPress // So we have to load the CSS manually.... if (VPRO) { echo '<link rel="stylesheet" id="pagelines-pro-css" href="'; echo PAGELINES_PRO_ROOT . '/pro.css'; echo '" type="text/css" />'; } echo '<link rel="stylesheet" id="pagelines-bbpress-css" href="'; bloginfo('stylesheet_url'); echo '" type="text/css" />'; } if (VPRO) { wp_register_style('pagelines-pro', PAGELINES_PRO_ROOT . '/pro.css', array(), CORE_VERSION, 'all'); wp_enqueue_style('pagelines-pro'); } wp_register_style('pagelines-stylesheet', get_bloginfo('stylesheet_url'), array(), CORE_VERSION, 'all'); wp_enqueue_style('pagelines-stylesheet'); // Queue Common Javascript Libraries wp_enqueue_script("jquery"); if (is_single() || is_page()) { wp_enqueue_script('comment-reply'); } // This makes the comment box appear where the ‘reply to this comment’ link is }
function pagelines_title_tag(){ /* Title Metatag */ echo "\n<title>"; // BuddyPress has its own title. if( pagelines_bbpress_forum() ){ bb_title(); } elseif( pagelines_is_buddypress_page() ) { bp_page_title(); } else { if ( !function_exists( 'aiosp_meta' ) && !function_exists( 'wpseo_get_value' ) ) { // Pagelines seo titles. global $page, $paged; $title = wp_title( '|', false, 'right' ); // Add the blog name. $title .= get_bloginfo( 'name' ); // Add the blog description for the home/front page. $title .= ( ( is_home() || is_front_page() ) && get_bloginfo( 'description', 'display' ) ) ? ' | ' . get_bloginfo( 'description', 'display' ) : ''; // Add a page number if necessary: $title .= ( $paged >= 2 || $page >= 2 ) ? ' | ' . sprintf( __( 'Page %s', 'pagelines' ), max( $paged, $page ) ) : ''; } else { $title = trim( wp_title( '', false ) ); } // Print the title. echo apply_filters( 'pagelines_meta_title', $title ); } echo "</title>\n"; }