1. Home
  2. Docs
  3. ChordPress Manual
  4. Shortcodes
  5. [chordpress]

[chordpress]

Description

The [chordpress] shortcode assumes that the text wrapped in its tags is valid ChorPro format. It will render the text and display it “pretty” on your page.

Format

[chordpress parameter="value" ...]your ChordPro text here[/chordpress]

Parameters

Parameter Description Default
float Forces the output div element to float. This can be useful depending on other elements on your page. Supported values:

  • left
  • right
  • none
  • inherit
none
format Tells the plugin whether to render the text or not. There maybe cases where you actually just want to display the original ChordPro text. Support values:

  • no
  • yes
yes
hbnotation This parameter allows to display chords in H/B notation: H is used instead of B, B is used insetad of Bb. This notation is used in some European countries. Read more about it here. no
interactive Tells the plugin to activate interactive mode. A drop down list with 11 semitone steps will be shown to the right of the song title.

Selecting a value from that list will transpose the chords by that many semitone steps up. E.g. an ‘Em’ chord transposed 5 steps up will become an ‘Am’ chord.

Supported values:

  • no
  • yes

Interactive mode will also place a print button next to the transpose listbox.

no
transpose Enter a positive or negative number for the amount of semitones to transpose the chords. 0

 

Was this article helpful to you? Yes No

4 thoughts on “[chordpress]”

    1. Hi Liliana,
      no, at this point you cannot switch on interactive mode per default. A good suggestion though. I will see what I can do…
      Best regards,
      George

    1. Hi Thiago,

      no, that is not possible at the moment. The chords are prepared/loaded for the original chords only. If that was different, the plugin would have to load all possible chords based on any transposition level. That would take much to long.

      Best regards,
      George

Leave a Reply

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