Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Better Blockquotes

Beskrivning

Better Blockquotes provides an way to easily add citations to quotes using the WordPress editor. Simply click on the blockquote button, and a pop-up will provide fields for quote, citation and citation link. Developers can extend the plugin to support various blockquote classes.

Contribute or submit bugs via Github.

Skärmdumpar

  • Pop-up that displays when the blockquote button is clicked in the editor.

Installation

  1. Go to ”Plugins > Add New”
  2. Search for ”Better Blockquotes”
  3. Click ”Install”

Vanliga frågor

What does the blockquote markup look like?

This is the quote.
Citation

Why doesn’t my blockquote look good when displayed?

This plugin doesn’t add any styling for blockquotes. Contact the author of your theme to make sure they support blockquote markup.

Blockquote Classes/Styles

Developers can optionally add style options to the pop-up. Any selected styles will apply a class directly to the <blockquote> element.

function prefix_blockquote_classes() {
    $options = array(
        'class-1' => __( 'Style One', 'better-blockquotes' ),
        'class-2' => __( 'Style Two', 'better-blockquotes' ),
    );
    return $options;
}
add_filter( 'betterblockquotes_classes', 'prefix_blockquote_classes' );

Recensioner

3 september 2016
I too was about to add an enhancement request for Core to do just this, when I saw that it had already been requested and this plugin was the result. It’s just as I imagined. I can only hope that, in time, this gets added to Core, especially as it’s a similar premise to the inline link feature.
3 september 2016
This plugin has been a godsend for client sites where we have a need to utilize the cite element in blockquotes. Without it, we’d have to train people to add the proper markup in the Text pane. (And the training never stuck.) With this plugin, the WordPress editor’s blockquote button works exactly the way we always wished it would.
Läs alla 2 betyg

Bidragsgivare och utvecklare

”Better Blockquotes” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Better Blockquotes” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.0 (03/25/16)

  • Public Release