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 &copy; %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

  • このエントリーをはてなブックマークに追加

関連記事

(日本語) Twenty Fourteen "コメントをどうぞ"の非表示と変更方法

Sorry, this entry is only available in 日本語.

(日本語) Twenty Twelve 投稿者情報を表示/非表示に

Sorry, this entry is only available in 日本語.

(日本語) Twenty Fourteen 「投稿者」を非表示

Sorry, this entry is only available in 日本語.

no image

(日本語) 「最近の投稿」ウィジェット カスタマイズ

Sorry, this entry is only available in 日本語.

(日本語) head内に出力される要素を整理

Sorry, this entry is only available in 日本語.

(日本語) 投稿記事から「(ログイン)ユーザー名」がバレるのを防ぐ

Sorry, this entry is only available in 日本語.

(日本語) コメント欄停止・コメント削除

Sorry, this entry is only available in 日本語.

(日本語) ツールチップ実装プラグイン「WordPress Tooltip」

Sorry, this entry is only available in 日本語.

(日本語) Twenty Fourteen クレジットを非表示・変更方法

Sorry, this entry is only available in 日本語.

(日本語) ログイン画面・機能をカスタマイズ

Sorry, this entry is only available in 日本語.

Comment

Leave a Reply to wordpress3.5.1 Twenty Twelveカスタマイズ追記 |ただ今子育て(られ)真っ最中☆ | Cancel reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    PAGE TOP ↑