大部分免費版型很難做直接修改,用佈景主題編輯器修改 FOOTER.PHP
其中 do_action( ‘storefront_footer 就是啟動版權語法
<footer id=”colophon” class=”site-footer” role=”contentinfo”> <div class=”col-full”> <?php /** * Functions hooked in to storefront_footer action * * @hooked storefront_footer_widgets – 10 * @hooked storefront_credit – 20 */ do_action( ‘storefront_footer’ ); ?> </div><!– .col-full –> </footer><!– #colophon –> |
註解 do_action( ‘storefront_footer 用<span>自行定義版權宣告
<footer id=”colophon” class=”site-footer” role=”contentinfo”> <div class=”col-full”> <?php /** * Functions hooked in to storefront_footer action * * @hooked storefront_footer_widgets – 10 * @hooked storefront_credit – 20 do_action( ‘storefront_footer’ ); */?> <span>這裡顯示自定義版權宣告</span> </div><!– .col-full –> </footer><!– #colophon –> |