CopyrightをCreative Commonsに変更

最初の日に変更済みでしたが、変更箇所を記録しておきます。

フッター(footer.php)の

<?php
global $wpdb;
$post_datetimes = $wpdb->get_results(“SELECT YEAR(post_date_gmt) AS year FROM $wpdb->posts WHERE post_date_gmt > 1970 ORDER BY post_date_gmt ASC”);
$firstpost_year = $post_datetimes[0]->year;
$lastpost_year = $post_datetimes[count($post_datetimes)-1]->year;

$copyright = __(‘Copyright © ‘, $themeName) . $firstpost_year;
if($firstpost_year != $lastpost_year) {
$copyright .= ‘-‘. $lastpost_year;
}

echo $copyright;
?>
<?php bloginfo(‘name’); ?>

という箇所を

<a rel=”license” href=”http://creativecommons.org/licenses/by-nc-nd/3.0/deed.ja”><img alt=”クリエイティブ・コモンズ・ライセンス” style=”border-width:0″ src=”http://i.creativecommons.org/l/by-nc-nd/3.0/88×31.png” /></a> Contents on this blog is licensed under a <a rel=”license” href=”http://creativecommons.org/licenses/by-nc-nd/3.0/deed.ja”>Creative Commons 表示 – 非営利 – 改変禁止 3.0 Unported License</a>.

に変更。

コメントを残す