| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| textpattern [2020/11/23 10:27] – [Textpattern] link fix rjt | textpattern [2022/03/23 02:49] (current) – links to pages rjt |
|---|
| |
| === Usage === | === Usage === |
| ''<txp::media_audio_file file="" title="" artist="" />'' | <code text><txp::media_audio_file file="" title="" artist="" /></code> |
| |
| Where ''file'' is the name of the file, without it's extension. | Where ''file'' is the name of the file, without it's extension. |
| |
| ==== misc/media_audio_bandcamp ==== | ==== misc/media_audio_bandcamp ==== |
| Bandcamp embed with big coverart. | [[Bandcamp]] embed with big cover-art. |
| |
| <code text> | <code text> |
| |
| ==== misc/media_video_youtube ==== | ==== misc/media_video_youtube ==== |
| For adding Youtube embeds that are inside a ''<figure>'' element. | For adding [[Youtube]] embeds that are inside a ''<figure>'' element. |
| |
| <code text> | <code text> |
| |
| === Usage === | === Usage === |
| ''<txp::media_video_youtube [vid="" | plid=""] title="" artist="" />'' | <code text><txp::media_video_youtube [vid="" | plid=""] title="" artist="" /></code> |
| |
| Where you use either ''vid'' to specify the ID of the video, __or__ ''plid'' to specify the ID of the playlist (including the ''PL'' letters at the start). | Where you use either ''vid'' to specify the ID of the video, __or__ ''plid'' to specify the ID of the playlist (including the ''PL'' letters at the start). |
| |
| === Usage === | === Usage === |
| ''<txp::text_nobreak text="" />'' | <code text><txp::text_nobreak text="" /></code> |
| |
| ===== Plug-ins ===== | ===== Plug-ins ===== |
| Plug-ins I'm using, or just curious about. | Plug-ins I'm using, or just curious about. |
| |
| * [[github>drmonkeyninja/arc_youtube]] - Youtube embeds.\\ I ended up wanting my videos included within the ''<figure>'' element, so I've my own in //form// form ;3 (see above) | First part of plug-in name denotes author. |
| * [[https://stefdawson.com/sw/plugins/smd_tags|smd_tags]] - Textpattern has a weird two-category-per-post limitation, but this (and some other) plugins are a good workround. This was easier to setup that [[https://www.rainskit.com/reference/497/trutags-usage-instructions|tru_tags]], so I've stuck with it. | |
| | * **[[https://plugins.textpattern.com/plugins/smd_tags|smd_tags]]** - Textpattern has a weird two-category-per-post limitation, but this (and some other) plugins are a good workround. This was easier to setup that [[https://www.rainskit.com/reference/497/trutags-usage-instructions|tru_tags]], so I've stuck with it. |
| | * **[[https://plugins.textpattern.com/plugins/smd_textile_bar|smd_textile_bar]]** - Adds a bar above the writing area so you can easily add bits of [[Textile]] markup. Can configure to use whatever snippets you want. |
| | * **[[https://plugins.textpattern.com/plugins/etc_pagination|etc_pagination]]** - Better UI for finding pages. |
| |
| ==== Adding ==== | ==== Adding ==== |
| An interesting thing about Textpattern plug-ins is that to install them you just copy a bunch of plain text into a field in the GUI. | An interesting thing about Textpattern plug-ins is that to install them you just copy a bunch of plain text into a field in the GUI. |
| | |
| | ==== See Also ==== |
| | |
| | * https://plugins.textpattern.com/ - Official plug-in repo. Small. |
| | * https://textpattern.org/plugins - Old plug-in repo. Much larger. |
| |
| ===== Theming ===== | ===== Theming ===== |