PDA

View Full Version : It's all different to me! Lost.



mphewitt911
04-28-2010, 11:41 AM
I have flexx and set it up and tried to put in the meta keywords/descrip using a vid tutorial and my code (header.php) in the editor is completely different. Totally lost. This is for a client and i need to get it solved like tomorrow. this is what the header code looks like:

<!--The Title-->
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :: '; } ?><?php bloginfo('name'); ?>|basement conversions in london</title>

<!--The Favicon-->
<?php
require_once( $GLOBALS['ithemes_theme_path'] . '/lib/iThemesFileUtility.php' );

$filename = false;
$default_favicon = true;

if ( ( 'custom_image' === $wp_theme_options['favicon_option'] ) && ( ! empty( $wp_theme_options['favicon_image'] ) ) ) {
$filename = iThemesFileUtility::get_file_from_url( $wp_theme_options['favicon_image'] );
$default_favicon = false;

if ( is_wp_error( $filename ) ) {
echo "<!-- Favicon image error: " . $filename->get_error_message() . "-->\n";

$filename = false;
}
}

if ( false === $filename )
$default_favicon = true;

if ( true === $default_favicon )
echo "<link rel=\"shortcut icon\" href=\"${wp_theme_options['default_favicon_image']}\" type=\"image/x-icon\" />\n";
else {
if ( ! is_wp_error( $filename ) ) {
$thumb = iThemesFileUtility::resize_image( $filename, 16, 16, true );
$type = iThemesFileUtility::get_mime_type( $filename );

if ( ! is_wp_error( $thumb ) )
echo "<link rel=\"shortcut icon\" href=\"${thumb['url']}\" type=\"$type\" />\n";
else
echo "<!-- Favicon image generation error: " . $thumb->get_error_message() . "-->\n";
}
else {
echo "<!-- Favicon image error: " . $filename->get_error_message() . "-->\n";
echo "<link rel=\"shortcut icon\" href=\"${wp_theme_options['default_favicon_image']}\" type=\"image/x-icon\" />\n";
}
}
?>

<!--The Meta Info-->
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php wp_meta(); //we need this for plugins ?>

<!--The Stylesheets-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lte-ie7.css" type="text/css" media="screen" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lt-ie7.css" type="text/css" media="screen" />
<script src="<?php bloginfo('template_url'); ?>/js/dropdown.js" type="text/javascript"></script>
<![endif]-->

<!--The RSS and Pingback-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); //we need this for plugins ?>
</head>
<body>
<div class="<?php do_action('container_style'); ?>" id="container">

<?php do_action('above_header'); ?>

<div id="header">
<div id="title">
<noscript>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
<a href="<?php echo $wp_theme_options['ithemes_featured_images']['link']; ?>">
<img src="<?php echo $GLOBALS['iThemesFeaturedImages']->get_random_image(); ?>" alt="Header Image" />
</a>
<?php else : ?>
<img src="<?php echo $GLOBALS['iThemesFeaturedImages']->get_random_image(); ?>" alt="Header Image" />
<?php endif; ?>
</noscript>
</div>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['enable_overlay'] ) ) : ?>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
<a href="<?php echo $wp_theme_options['ithemes_featured_images']['link']; ?>">
<?php endif; ?>
<span id="title_overlay">
<?php echo $wp_theme_options['ithemes_featured_images']['overlay_header_text']; ?>

<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['overlay_subheader_text'] ) ) : ?>
<span><?php echo $wp_theme_options['ithemes_featured_images']['overlay_subheader_text']; ?></span>
<?php endif; ?>
</span>
<?php if ( ! empty( $wp_theme_options['ithemes_featured_images']['link'] ) ) : ?>
</a>
<?php endif; ?>
<?php endif; ?>
</div>

<?php do_action('below_header'); ?>
Help some one pls. i need to get this right any suggestion?