Use functions (not global variables) for protocol and base_url
This commit is contained in:
		| @@ -13,7 +13,7 @@ include_once("common.php"); | ||||
|  | ||||
| <title><?php wp_title('«', true, 'right'); ?> Blog - aclindsay.com</title> | ||||
|  | ||||
| <link rel="stylesheet" href="<?php echo $protocol; ?>aclindsay.com/css/stylesheet.css" type="text/css" media="screen" /> | ||||
| <link rel="stylesheet" href="<?php echo get_protocol(); ?>aclindsay.com/css/stylesheet.css" type="text/css" media="screen" /> | ||||
| <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | ||||
|  | ||||
| <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> | ||||
| @@ -23,7 +23,7 @@ include_once("common.php"); | ||||
| <body <?php body_class(); ?>> | ||||
| <div id="header"> | ||||
| 	<div id="header-inner"> | ||||
| 		<div id="title"><a href="<?php echo $protocol; ?>aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div> | ||||
| 		<div id="title"><a href="<?php echo get_protocol(); ?>aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div> | ||||
| 		<?php include("tabs.php"); ?> | ||||
| 	</div> | ||||
| </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user