res:plugins:entrycover
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| res:plugins:entrycover [2021/04/01 19:12] â [How to use] franah | res:plugins:entrycover [2025/08/30 19:44] (current) â [Description] fraenkiman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Entry Cover Plugin ===== | ===== Entry Cover Plugin ===== | ||
| + | Author: [[https:// | ||
| + | |||
| ==== Description ==== | ==== Description ==== | ||
| + | |||
| With this plugin, you can add Covers to entries easily.Just upload covers and select what you want in the entry. You can add the cover in any part of the theme, and also include a tag [cover] if your theme is not compatible with the plugin. | With this plugin, you can add Covers to entries easily.Just upload covers and select what you want in the entry. You can add the cover in any part of the theme, and also include a tag [cover] if your theme is not compatible with the plugin. | ||
| - | Author: [[https:// | ||
| - | ==== Download ==== | ||
| - | [[https:// | ||
| - | ==== How to use ==== | + | ==== How to use (Not for 0.1 beta) ==== |
| Upload a image in the media manager. Edit an entry, and select the cover you want to add. Save the entry. | Upload a image in the media manager. Edit an entry, and select the cover you want to add. Save the entry. | ||
| Line 14: | Line 14: | ||
| If your theme is not compatible with the plugin, just add this code where you want to show the cover in your entry .tpl file: | If your theme is not compatible with the plugin, just add this code where you want to show the cover in your entry .tpl file: | ||
| - | < | + | < |
| - | {if isset($entryCoverEnable)}Â | + | {EntryCover} |
| - | {php}print(showEntryCover()); | + | |
| - | {/if} | + | |
| </ | </ | ||
| You can add a CSS class to the cover passing it as parameter: | You can add a CSS class to the cover passing it as parameter: | ||
| - | < | + | < |
| - | {if isset($entryCoverEnable)}Â | + | {EntryCover class=" |
| - | {php}print(showEntryCover(' | + | |
| - | {/if} | + | |
| </ | </ | ||
| An when the plugin parse will appear like this: | An when the plugin parse will appear like this: | ||
| - | < | + | < |
| <img class=" | <img class=" | ||
| </ | </ | ||
| - | If you wan' | + | If you dont want to edit the tpl. You can activate |
| + | Â | ||
| + | To make it responsive, you can add to your CSS:Â | ||
| + | Â | ||
| + | <code css>Â | ||
| + | .myClassCover {Â | ||
| + | max-width: 100%;Â | ||
| + | height: auto;Â | ||
| + | }Â | ||
| + | </ | ||
| + | Â | ||
| + | ==== Download ====Â | ||
| + | [[https:// | ||
| + | Â | ||
| + | {{ : | ||
| + | Â | ||
| + | Â | ||
| + | === Changelog: ===Â | ||
| + | == 2025-08-30 (V1.0.0) by Fraenkiman ==Â | ||
| + | * Compatible with FlatPress 1.4/ Smarty 4 or higher | ||
| + | * Various bug fixes | ||
| + | Â | ||
| + | **Support**Â | ||
| + | Â | ||
| + | Please ask for help on the [[https:// | ||
res/plugins/entrycover.1617297168.txt.gz ¡ Last modified: by franah
