Twenty Twelve | How to change "Proudly powered by WordPress" for Copyright*
Twenty Twelve in 1.1
This post explains how to change the strings "Proudly ~" in footer element.
Just copy footer.php in child theme dir and edit it as followed. that removes link and edits strings.
[php]
<footer id="colophon" role="contentinfo">
<div class="site-info">
<?php do_action( 'twentytwelve_credits' ); ?>
// comment <?php if(0){ ?><a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>" rel="generator"><?php } ?>
// comment <?php if(0){ ?><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?><?php } ?>
<?php printf( __( 'Copyright © %s All Rights Reserved. ', 'twentytwelve' ), '[own copyright name]' ); ?>
// comment <?php if(0){ ?></a><?php } ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
[/php]
This time wrote "Copyright etc" in footer element. but iif you want to let wp translate that you need to edit mo file
関連記事
-
(日本語) ie.cssの子テーマ化など Twenty Twelve 1.1での変更点
Sorry, this entry is only available in 日本語.
-
(日本語) アバターサイズの変更など Twenty Twelve 1.3での変更点
Sorry, this entry is only available in 日本語.
-
(日本語) プラグイン関連のJSやCSSの読み込みをフィルター
Sorry, this entry is only available in 日本語.
-
(日本語) head内に出力される要素を整理
Sorry, this entry is only available in 日本語.
-
(日本語) RSS/Atomフィード カスタマイズ
Sorry, this entry is only available in 日本語.
-
(日本語) Lightbox (画像ポップアップ) プラグイン
Sorry, this entry is only available in 日本語.
-
(日本語) サイトのキャプチャをショートコードで生成してくれる「Browser Shots」
Sorry, this entry is only available in 日本語.
-
(日本語) "コメントを残す" 削除・文言を変更する方法
Sorry, this entry is only available in 日本語.
-
(日本語) Twitterのツイートボタンの設置
Sorry, this entry is only available in 日本語.
-
(日本語) 投稿タイトル(entry-title)を非表示にする
Sorry, this entry is only available in 日本語.
Comment
zhishishe.miucv.com
[...] フッターコピーライトを編集 Twenty Twelve http://kwski.net/wordpress/1042/ [...]
[...] 参考:http://kwski.net/wordpress/1042/ [...]
[...] >WordPress: Twenty Twelve “Proudly powered by WordPress”をCopyrightに変更/Think deeply,Do ... [...]