Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Drop Cap Shortcode

Description

This plugin gives you freedom to change the first letter into a drop cap. Just change the first letter using a shortcode. Example: [T]his is my first paragraph with a drop cap. The first letter ‘T’ will turn into a drop cap. If you don’t want your article have a drop cap, just leave it the way it was.

Shortcode List

  • Write shortcode [A] to get « A » as a dropcode, [B] to get « B » as a dropcode, etс from A-Z.
  • Write shortcode [quote] to see opening quotation mark as a drop cap.

Captures d’écran

  • How you change your first letter into a shortcode in your writing panel.
  • How your shortcode will show as a drop cap in your published post.

Installation

  1. Upload the folder drop-caps-shortcode to the /wp-content/plugins/ directory.
  2. Activate Drop Cap Shortcode through the ‘Plugins’ menu in WordPress.
  3. Now you can write your first article with a drop cap, or edit an old one.
  4. Edit the plugin to change css style to fit with your theme/design.

FAQ

How can I change the color of the Drop Cap?

Open the style.css file in the CSS directory and specify a color in line 15.

How can I change the font of the Drop Cap?

Open the style.css file in the CSS directory and specify a font in line 13.

How can I change font size of the Drop Cap?

Open the style.css file in the CSS directory and specify a font size in line 12.

Avis

13 novembre 2020
This works great in Classic WP 5.53, 2020-1112. Easy to change styles, just what I needed. Thank you.
10 octobre 2018
Easy to use. Really simple plugin but works. Thanks. (Maybe adding few options would be nice but can be done by changing plugin's css I guess)
Lire les 7 avis

Contributeurs/contributrices & développeurs/développeuses

« Drop Cap Shortcode » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Drop Cap Shortcode » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

V1.3 – 03.12.2014

  • Update : We remove a menu page.

V1.2 – 21.11.2014

  • Update : We updated all functionality for WordPress 4.0.1.
  • NEW : We added a menu page.

V1.1 – 17.06.2014

  • Bugfix : We updated all functionality for WordPress 3.9.1.

V1.0 – 16.02.2011

  • NEW : Release of Drop Cap Shortcode plugin.