Skip to content

Commit

Permalink
Switched from WP_CONTENT_URL to get_stylesheet_directory_uri() and ge…
Browse files Browse the repository at this point in the history
…t_template_directory_uri().
  • Loading branch information
Mr0grog committed May 24, 2012
1 parent ab315f3 commit c36491f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo WP_CONTENT_URL . '/themes/OpenCounterWP/mycustomstyles.css'; ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() . '/mycustomstyles.css'; ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />


<?php wp_head(); ?>
<script type="text/javascript" src="<?php echo WP_CONTENT_URL . '/themes/OpenCounterWP/scripts/clock3.js'; ?>"></script>
<script type="text/javascript" src="<?php echo WP_CONTENT_URL . '/themes/OpenCounterWP/scripts/json3.min.js'; ?>"></script>
<script type="text/javascript" src="<?php echo WP_CONTENT_URL . '/themes/OpenCounterWP/scripts/cookies.min.js'; ?>"></script>
<script type="text/javascript" src="<?php echo WP_CONTENT_URL . '/themes/OpenCounterWP/scripts/magic-arrows.js'; ?>"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/scripts/clock3.js'; ?>"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/scripts/json3.min.js'; ?>"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/scripts/cookies.min.js'; ?>"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri() . '/scripts/magic-arrows.js'; ?>"></script>

<script type="text/javascript">

Expand Down
2 changes: 1 addition & 1 deletion home.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@


<div class="alignright">
<?php next_post('%', '', 'yes'); ?>
<?php next_link(); ?>
</div>


Expand Down

0 comments on commit c36491f

Please sign in to comment.