這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Copyright Shortcode

外掛說明

This plugin allows you to use the shortcode [copyright], which inserts a copyright symbol, the site name (linking back to the homepage), and the year.

A span with the class “copyright” wraps this, and the year is dynamically updated.

This is ideally used in the footer of your website. If shortcodes don’t work in widget areas on your site, check the FAQs.

螢幕擷圖

  • The visible output, and the HTML behind it

安裝方式

From the Plugins Directory

  1. Go to Plugins > Add New and search for ‘copyright’, then clck the Install button.
  2. After installation, click the Activate link to enable the plugin.

Manual

  1. Download the plugin from wordpress.org, then go to Plugins > Add New, and click Upload Plugin.
  2. After installation, click the Activate link to enable the plugin.

常見問題集

How do I use this?

Enter the shortcode `[copyright]1 somewhere on your site – in a page, post or widget. You can also use it in your templates with the following code:

<?php echo do_shortcode('[copyright]'); ?>
Can I use the shortcode in a text widget?

Yes, if you have shortcodes enabled for use in widget areas. If you haven’t, you can either install the plugin Shortcodes in Sidebar Widgets, or you can add this line of code to your functions.php file:

add_filter('widget_text', 'do_shortcode');
How do I change the name that’s shown?

The name is taken from your site name, which you can set via Settings > General.

I have a plugin installed that uses the shortcode [copyright]. Can I still use this? Will it break my other plugin?

The plugin makes sure that ‘copyright’ isn’t being used already. If it is, it lets you use an alternative shortcode instead: [muffincopyright]

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Copyright Shortcode〉的開發相關工作。

參與者

將〈Copyright Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial release