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 [2025/08/27 21:50] – [How to use] fraenkiman | 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. | ||
| - | **NOTE: It is a beta version** | ||
| - | Author: [[https:// | ||
| - | ==== Download ==== | + | ==== How to use (Not for 0.1 beta) ==== |
| - | [[https:// | + | |
| - | + | ||
| - | ==== How to use ==== | + | |
| 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 16: | 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=" | ||
| </ | </ | ||
| Line 38: | Line 32: | ||
| To make it responsive, you can add to your CSS: | To make it responsive, you can add to your CSS: | ||
| - | < | + | < |
| .myClassCover { | .myClassCover { | ||
| max-width: 100%; | max-width: 100%; | ||
| Line 44: | Line 38: | ||
| } | } | ||
| </ | </ | ||
| + | |||
| + | ==== Download ==== | ||
| + | [[https:// | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | === Changelog: === | ||
| + | == 2025-08-30 (V1.0.0) by Fraenkiman == | ||
| + | * Compatible with FlatPress 1.4/ Smarty 4 or higher | ||
| + | * Various bug fixes | ||
| **Support** | **Support** | ||
| Please ask for help on the [[https:// | Please ask for help on the [[https:// | ||
res/plugins/entrycover.1756324218.txt.gz · Last modified: by fraenkiman
