Skip to content
This repository has been archived by the owner on Jul 8, 2018. It is now read-only.

Commit

Permalink
syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lingz committed Aug 10, 2013
1 parent 9fc0b82 commit 13bbb9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion content-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$image_url = catch_image();
}
?>
<? if ($image_url) { ?>
<?php if ($image_url) { ?>
<?php $span = explode(".", get_post_meta( get_the_ID(), "gridlock", true)); ?>
<?php $span = $span[1][1] ?>
<?php if ($span == 1) { ?>
Expand Down
2 changes: 1 addition & 1 deletion content.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
$image_url = catch_image();
}
?>
<? if ($image_url) { ?>
<?php if ($image_url) { ?>
<div class="article-image col-6">
<a href="<?php the_permalink(); ?>">
<div class="image" style="background-image: url(<?php echo $image_url ?>)"></div>
Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function gridster_head() { ?>
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/gridster.css" />
<script src="<?php echo get_template_directory_uri(); ?>/javascripts/jquery.gridster.min.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/javascripts/gridster.js" type="text/javascript"></script>
<? }
<?php }
function gridster_query() {
if (isset($_GET["query"])) {
$query = $_GET["query"];
Expand All @@ -166,7 +166,7 @@ function gridster_query() {
}
function gridlock_future( $array ) {
if (get_option("gridlock_future")) {
return array_merge($array, array( "post_status" => "draft,future,publish"));
return array_merge($array, array("post_status" => "draft,future,publish"));
} else {
return $array;
}
Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<title><?php echo bloginfo('name') . (is_home() ? "" : ' - ' . wp_title('', false)); ?></title>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" />
Expand Down

0 comments on commit 13bbb9b

Please sign in to comment.