zerosonesfun/flarum-featured-card

A BBCode which creates a card to feature a link, page, content, etc. [featured url= title=optional theme=optional][/featured]

Fund package maintenance!
Website

Installs: 277

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:flarum-extension

1.0.3 2021-06-24 05:46 UTC

This package is auto-updated.

Last update: 2022-06-24 08:19:28 UTC


README

License Latest Stable Version

A Flarum extension. A BBCode which creates a card in a post in order to feature a link/page/etc. BBCode: [featured url=][/featured]

Screenshot

Optional attributes include title= and theme=. By default with no theme name added the card will use your forum's colors. For the first release there is only one other theme to show the possibilities and it is called "rainbow" (i.e. theme=rainbow).

A full example with all parameters used:

[featured url=https://flarum.org title=Flarum theme=rainbow]Flarum is modern forum software which is minimal, light-weight, and fun to use. The community behind the software is vibrant and many developers contribute to the core code and extensions.[/featured]

Example with minimal (only required) attributes:

[featured url=https://flarum.org]Flarum is modern forum software which is minimal, light-weight, and fun to use. The community behind the software is vibrant and many developers contribute to the core code and extensions.[/featured]

Installation

composer require zerosonesfun/flarum-featured-card

Updating

composer update zerosonesfun/flarum-featured-card

Removing

composer remove zerosonesfun/flarum-featured-card

Links