以前にWordPressでiepngfix.jsを使うを紹介しまいたが、wordpressを勉強していく上でもっと便利な方法を発見しました。
前回ではiepngfix.jsはthemesとは別の階層にアップしheader.phpの<head></head>の間に
<script type=”text/javascript” src=”<?php bloginfo(’url’); ?>/iepngfix.js”></script>
と記述しましたが、今回は使用するthemesの中にiepngfix.jsをアップし<head></head>の間に
<script type=”text/javascript” src=”<?php bloginfo(’template_directory’); ?>/iepngfix.js”></script>
を記入すれば、使用するthemesごとにiepngfix.jsを導入するか、しないか決めれます。
トラックバック
If you like this blog please take a second and subscribe to my rss feed
Tags: iepngfix.js
Comments: No comments, be the first to comment
All the fields that are marked with REQ must be filled
Please comment