517762 Search Engine Optimization for a WordPress Website
N/A
Paid on delivery
Bellow, you will find the header code to edit for me.
Here is what I want:
Replace "1260 6th Avenue New York, United States of America 10020" by the actual address of the event.
Replace "Event Categories: Arts/Theater, Broadway, Comedy, Dance, Techno and Electronic, and Music" by the actual category and subcategory of the event.
You will be welcome with any better suggestion except SEO plugin, I don't like them.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url removed, login to view]">
<html xmlns="[url removed, login to view]">
<head profile="[url removed, login to view]">
<?php
/*$category = get_the_category();
$parent = get_cat_name($category[0]->category_parent);
if (!empty($parent)) {
$p_cat_name = $parent. " | " ;
}*/
?>
<title>
<?php echo $p_cat_name; ?>
<?php if($_REQUEST['ptype']=='post_listing'){ echo HEADER_ADD_PLACE_SEO;?> | <?php bloginfo('name'); }else?>
<?php if($_REQUEST['ptype']=='post_event'){ echo HEADER_ADD_EVENT_SEO;?> | <?php bloginfo('name'); }else?>
<?php if($_REQUEST['ptype']=='preview'){ echo HEADER_ADD_PREVIEW_SEO;?> | <?php bloginfo('name'); }else?>
<?php if($_REQUEST['ptype'] == 'register' || $_REQUEST['ptype'] == 'login'){ echo HEADER_LOGIN_REGISTRATION_SEO;?> | <?php bloginfo('name'); }else?>
<?php if($_GET['ptype'] == 'return' || $_GET['ptype'] == 'payment_success'){ echo HEADER_SUCCESS_PAGE_SEO;?>|<?php bloginfo('name'); }else?>
<?php if ( is_home() ) { ?><?php bloginfo('description'); ?> | <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_search() ) { ?>Search Results | <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_author() ) { ?>Author Archives | <?php bloginfo('name'); ?><?php } ?>
<?php if ( is_single() ) { ?><?php wp_title(''); ?> | <?php bloginfo('name');?><?php } ?>
<?php if ( is_page() ) { ?><?php wp_title(''); ?> | <?php bloginfo('name');?><?php } ?>
<?php if ( is_archive() ) { ?>
<?php
if(is_category())
{
single_cat_title();
}else
{
global $wp_query, $post;
$current_term = $wp_query->get_queried_object();
echo $current_term->name;
}
?>
|<?php bloginfo('name'); ?><?php } ?>
<?php if ( is_month() ) { ?><?php the_time('F'); ?>|<?php bloginfo('name'); ?><?php } ?>
<?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php //single_tag_title("", true);
} } ?>
1260 6th Avenue New York, United States of America 10020
</title>
<meta name="DESCRIPTION" content="<?php echo $p_cat_name; ?><?php wp_title(''); ?>
| 1260 6th Avenue New York, United States of America 10020 | Event Categories: Arts/Theater, Broadway, Comedy, Dance, Techno and Electronic, and Music"
/>
<meta name="KEYWORDS" content="<?php echo $p_cat_name; ?><?php wp_title(''); ?>
1260 6th Avenue New York, United States of America 10020, + event tags, Broadway, Comedy, Dance, Techno and Electronic, and Music"
/>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php if (is_home()) { ?>
<?php if ( get_option('ptthemes_meta_description') <> "" ) { ?>
<meta name="description" content="<?php echo stripslashes(get_option('ptthemes_meta_description')); ?>" />
<?php } ?>
<?php if ( get_option('ptthemes_meta_keywords') <> "" ) { ?>
<meta name="keywords" content="<?php echo stripslashes(get_option('ptthemes_meta_keywords')); ?>" />
<?php } ?>
<?php if ( get_option('ptthemes_meta_author') <> "" ) { ?>
<meta name="author" content="<?php echo stripslashes(get_option('ptthemes_meta_author')); ?>" />
<?php } ?>
<?php } ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
<?php if ( get_option('ptthemes_favicon') <> "" ) { ?>
<link rel="shortcut icon" type="image/png" href="<?php echo get_option('ptthemes_favicon'); ?>" />
<?php } ?>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('ptthemes_feedburner_url') <> "" ) { echo get_option('ptthemes_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( get_option('ptthemes_scripts_header') <> "" ) { echo stripslashes(get_option('ptthemes_scripts_header')); } ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/library/css/[url removed, login to view]" media="print" />
<link href="<?php echo bloginfo('template_url'); ?>/library/js/swfupload/[url removed, login to view]" rel="stylesheet" type="text/css" />
<link href="<?php bloginfo('template_directory'); ?>/library/css/[url removed, login to view]" rel="stylesheet" type="text/css" />
<script src="<?php bloginfo('template_directory'); ?>/library/js/[url removed, login to view]" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/library/js/[url removed, login to view]" type="text/javascript"></script>
<link href="<?php bloginfo('template_directory'); ?>/library/css/[url removed, login to view]" rel="stylesheet" type="text/css" />
<?php if(is_single()){ ?>
<!--Add fancybox for single post video-->
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/fancybox/[url removed, login to view]"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/fancybox/[url removed, login to view]"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/fancybox/[url removed, login to view]"></script>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/fancybox/[url removed, login to view]" media="screen" />
<script type="text/javascript">
var J = [url removed, login to view]();
J(document).ready(function() {
J(".various3").fancybox({
'width' : '75%',
'height' : '75%',
'autoScale' : false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'type' : 'iframe'
});
});
</script>
<!--Add fancybox for single post video-->
<?php } ?>
<?php
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
?>
<?php wp_head(); ?>
<?php if ( get_option('ptthemes_customcss') ) { ?>
<link href="<?php bloginfo('template_directory'); ?>/[url removed, login to view]" rel="stylesheet" type="text/css" />
<?php } ?>
</head>
<body <?php // body_class(); ?> >
<div id="top_strip">
<div id="top_strip_in">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Top Navigation') ){}else{ ?>
<ul>
<li class="hometab <?php if ( is_home() && $_REQUEST['page']=='' ) { ?> current_page_item <?php } ?>"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home'); ?></a></li>
<?php
if(get_option('ptthemes_top_strip_pages') )
{
$top_strip_pages = implode(',',get_option('ptthemes_top_strip_pages'));
wp_list_pages('title_li=&depth=0&include=' . $top_strip_pages . '&sort_column=menu_order');
}
?>
</ul>
<?php }?>
<span class="social_icon">
<?php if ( get_option('ptthemes_facebook_id') != "") { ?>
<a href="<?php echo stripslashes(get_option('ptthemes_facebook_id')); ?>" ><img src="<?php bloginfo('template_directory'); ?>/images/[url removed, login to view]" alt="" /></a>
<?php } ?>
<?php if ( get_option('ptthemes_twitter_id') != "") { ?>
<a href="<?php echo stripslashes(get_option('ptthemes_twitter_id')); ?>" ><img src="<?php bloginfo('template_directory'); ?>/images/[url removed, login to view]" alt="" /></a>
<?php } ?>
<a href="<?php if( get_option('ptthemes_feedburner_url')){echo get_option('ptthemes_feedburner_url');}else{ echo bloginfo('rss_url');} ?>" > <img src="<?php bloginfo('template_directory'); ?>/images/[url removed, login to view]" alt="" /></a>
</span>
</div>
</div>
<div id="header">
<div class="header_left">
<?php if ( get_option('ptthemes_show_blog_title') ) { ?>
<div class="blog-title"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
<p class="blog-description"><?php bloginfo('description'); ?></p>
</div>
<?php } else { ?>
<div class="logo">
<a href="<?php echo get_option('home'); ?>/">
<img src="<?php if ( get_option('ptthemes_logo_url') <> "" ) { echo get_option('ptthemes_logo_url'); } else { echo get_bloginfo('template_directory').'/skins/'.str_replace('.css','',get_option('ptthemes_alt_stylesheet')).'/[url removed, login to view]'; } ?>" alt="<?php bloginfo('name'); ?>" /></a>
<p class="blog-description"><?php bloginfo('description'); ?></p>
</div>
<?php } ?>
</div> <!-- header left #end -->
<?php if(get_option('is_user_eventlist')){ ?>
<a class="b_sbumit" href="<?php echo get_option('siteurl'); ?>/?ptype=post_event"><?php _e('Submit Event');?> </a>
<?php }?>
<?php $total_events = get_total_events_count();
if($total_events)
{
?>
<p class="general_statics"> <?php _e('Total Events');?> : <span><?php echo $total_events;?></span></p>
<?php }?>
</div>
<div id="main_navi">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Main Navigation') ){}else{ ?>
<ul>
<?php
if(get_option('ptthemes_main_nav_pages') )
{
$ptthemes_main_nav_pages = implode(',',get_option('ptthemes_main_nav_pages'));
wp_list_pages('title_li=&depth=0&include=' . $ptthemes_main_nav_pages . '&sort_column=menu_order');
}
?>
<?php if(get_option('is_user_eventlist')=='0'){}else{ ?>
<li class="<?php if($_REQUEST['ptype']=='post_event') { ?>current_page_item<?php } ?>" ><a href="<?php echo get_option('siteurl'); ?>/?ptype=post_event"><?php _e('Add Event');?></a></li>
<?php }?>
<?php if(is_array(get_option('ptthemes_blogcategory')))
{
$cat_arr = get_option('ptthemes_blogcategory');
if(is_array(get_option('ptthemes_blogcategory')) && $cat_arr[0]!='')
{
$blog_cat = implode(',',get_option('ptthemes_blogcategory'));
$catlist = wp_list_categories('title_li=&include=' . $blog_cat .'&echo=0');
if(!strstr($catlist,'No categories'))
{
echo $catlist;
}
}
}
?>
<?php if(is_array(get_option('ptthemes_eventcategory')))
{
$cat_arr = get_option('ptthemes_eventcategory');
if(is_array(get_option('ptthemes_eventcategory')) && $cat_arr[0]!='')
{
$blog_cat = implode(',',get_option('ptthemes_eventcategory'));
$catlist = wp_list_categories('title_li=&include=' . $blog_cat .'&echo=0&taxonomy='.CUSTOM_CATEGORY_TYPE1);
if(!strstr($catlist,'No categories'))
{
echo $catlist;
}
}
}
?>
</ul>
<?php }?>
<span class="nav_left"></span>
<span class="nav_right"></span>
</div>
Project ID: #2263696