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: 513
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:flarum-extension
Requires
- flarum/core: ^1.0
README
A Flarum extension. A BBCode which creates a card in a post in order to feature a link/page/etc. BBCode: [featured url=][/featured]
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