| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| textpattern [2020/11/23 10:26] – moved logo image, link fixes, tag rjt | textpattern [2022/03/23 02:49] (current) – links to pages rjt |
|---|
| ====== Textpattern ====== | ====== Textpattern ====== |
| {{media:image:logo:textpattern.png?60px }} | {{media:image:logo:textpattern.png?60px }} |
| I've mostly used [[wordpress]] for self-hosted blogging (and [[Tumblr]] for not-self-hosted), but, out of curiousity, decided to give another platform a shot when reviving my [[musuc|m~u~s~u~c]] blog that I lost in [[tool:software:tumblr#whoops|the great whoops of 2019]]. | I've mostly used [[wordpress]] for self-hosted blogging (and [[Tumblr]] for not-self-hosted), but, out of curiousity, decided to give another platform a shot when reviving my [[musuc|m~u~s~u~c]] blog that I lost in [[tumblr#whoops|the great whoops of 2019]]. |
| |
| **Textpattern** has a bit more of a DIY-feel that [[Wordpress]], not just in that it feels less slick and corporate, but that it feels easier to hack at it! A thing I'm really starting to appreciate is the ability to add //forms//, which are just chunks of HTML you can insert where you want, including passing in whatever attributes you setup. | **Textpattern** has a bit more of a DIY-feel that [[Wordpress]], not just in that it feels less slick and corporate, but that it feels easier to hack at it! A thing I'm really starting to appreciate is the ability to add //forms//, which are just chunks of HTML you can insert where you want, including passing in whatever attributes you setup. |
| |
| === 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 ===== |