Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Better Blockquotes

Aprašymas

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.

Ekrano nuotraukos

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

Diegimas

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

DUK

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' );

Atsiliepimai

3 rugsėjo, 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 rugsėjo, 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.
Perskaityti visus atsiliepimus (2)

Programuotojai ir komandos nariai

“Better Blockquotes” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.0.0 (03/25/16)

  • Public Release