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

Chords and Lyrics

外掛說明

This plugin assists in the creation of staffless lead sheets, also called chords sheets.
It defines a [chordsandlyrics] shortcode which can be used in your post or page text.
It does not require any editing of your template files.

Text appearing between the [chordsandlyrics] and [/chordsandlyrics] tags will be
formatted for chord symbols written in square brackets (eg. [Cmaj]) embedded
inline within lyrics.
It will then display the chord symbol at the same horizontal position above the lyrics.
For example:

[C]Oh [F]say can you see…

will be reformatting using HTML table to display as

C F
Oh say can you see…

with the C correctly positioned over “Oh” and the F positioned over “say”.
The commonly used alternative is to use fixed fonts which isn’t very attractive.
This syntax is similar to the that used by ChordPro/Chordii.

Features:

  • Format lead sheets, keeping chord symbols above the correct lyric.
  • Appearance options page allows each end user to select Lyrics only
    or Chords And Lyrics display via their profile (user’s option page).

Directions for Use

  1. Create Posts or Pages containing the [chordsandlyrics] … [/chordsandlyrics] tags.
  2. Embed chord symbols within square brackets inline with lyrics within these tags.
    For example:
    [chordsandlyrics]
    [C]Mary had a little lamb, [G]little lamb, [C]little lamb.
    [C]Mary had a little lamb whose [F]fleece was [G]white as [C]snow.
    [/chordsandlyrics]
    Note that chords can appear in the middle of lyric words.

螢幕擷圖

  • User option section on settings->reading page allows control of chords and/or lyrics display.

安裝方式

These are the directions for the install. Be sure to read Directions for Use before using.

  1. Upload the ‘ChordsAndLyrics’ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Insert [chordsandlyrics] and [/chordsandlyrics] shortcodes around text containing
    embedded chords symbols in square brackets.

常見問題集

Installation Instructions

These are the directions for the install. Be sure to read Directions for Use before using.

  1. Upload the ‘ChordsAndLyrics’ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Insert [chordsandlyrics] and [/chordsandlyrics] shortcodes around text containing
    embedded chords symbols in square brackets.
Is it possible to customize the formatting of the lyrics and chord symbols?

Yes. Adjust the CSS in your theme.
Chords are wrapped within div#cnl div#chord strong tags.
Lyrics are wrapped within div#cnl div#lyric tags.

Can I display European chords?

Yes. Beginning with version 1.7, European chord convention is supported.
A new option in the Reading Settings allows enabling display using aHcdefg instead of abcdefg.
For entering chords in a post using European chord convention, add the european=yes argument
to the chordsandlyrics short tag (eg. [chordsandlyrics european=yes])

使用者評論

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

參與者及開發者

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

參與者

將〈Chords and Lyrics〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.7.0

  • Add support for European chord style (aHcdefg, B=Bb)

1.6.0

  • Fix bug preventing headings from showing.
  • Improved formatting for big chords over small words.
  • Clean up options API code.
  • Settings now displayed at bottom of settings -> reading page.
  • Removed multi-page option.

1.5.0

  • Convert previous use of tables to CSS layers for formatting.
  • Change multicolumn formatting to allow author to control it better.

1.4.0

  • First public release to WordPress.org subversion.

1.3.0

  • Move controls from a widget to the user’s profile page.

1.0.0

  • Initial creation. Used privately on http://TheRockBand.org.