#wordpress 2022-01-16

2022-01-16 UTC
aspenmayer[d] and fef joined the channel
#
Zegnat
Question: how would people use custom post types? Say I want to post my Wordle result every day, would you make that a custom post type?
#
Zegnat
is learning all the WP concepts
#
petermolnar
probably. You can use one of the nice plugins to define custom post types, or go hardcore, and do it in code
#
Zegnat
Looking at different plugins for it now
#
petermolnar
doing it from code, eg. plugins.php is usually a lot faster
#
Zegnat
Docs link?
#
GWG
I took a different approach to it
#
GWG
I decided that h-entry equalled the standard post type.
#
GWG
So, if I did h-event or h-review, that would be a separate post type, but not reply, or such
#
Zegnat
Sure. But basically everything will be an h-entry in mf2 terms.
#
Zegnat
I am just wondering if, posting a Wordle restult post every day, that should use just basic WP post, or be sorted in its own post type.
#
Zegnat
(Also looking into if post types will make it easier for me to post them or not.)
#
GWG
Zegnat: Looking forward to hearing about a fresh approach
#
GWG
When I do micropub incoming, I use PTD to set a taxonomy, which allows me to display specific posts in an archive. It is rechecked on update
#
GWG
I'm still playing with bookmarks this weekend
#
GWG
I'm trying to modernize the old link system with everything they might have given it if they hadn't disabled it
#
Zegnat
That feels like it is way more than I need ...
#
GWG
How so
#
Zegnat
Mmm. Maybe it isn’t.
#
Zegnat
In reality I am thinking post types the way Tumblr thinks post types.
#
Zegnat
The fact that I need to register post types for their own menu items etc feels like a lot of overhead on WP side. But on another read a lot of that seems optional? So I just need to try it out.
#
GWG
Zegnat: You can see why I went another way
#
Zegnat
Maybe the route I should go is to create a Wordle Gutenburg block. And just stick to normal posts only. I can then always sort by adding a category/tag or something. Mmmm 🤔
#
Zegnat
I just manual until it hurted it, but this will soon hurt, I think. Basically I wanted to generate a post like this, but just by filling in my guesses and not by hand-crafting HTML: https://blog.fraterman.se/?p=5
#
GWG
I'm too lazy for manual till it hurts
sayanarijit[d] and jsbach joined the channel
#
Zegnat
Was a lot faster than either: a/ creating a new post type with its own interface for entering post contents, or b/ setup a node.js development environment to create a block
#
Zegnat
Although I am tempted to do the latter for this
#
GWG
One time versus every time
#
Zegnat
But the whole idea was to lessen the effort between wanting to post something and posting it ;)
#
sknebel
c) write a micropub client that generates that html ;)
#
Zegnat
That is a definite no :P
#
Zegnat
Oh. Wow. WordPress has already managed to break itself. https://1drv.ms/u/s!Ati5c5SBZqZxg1Pr3_eP8gHAQvJX?e=CuM1i0
fef and hi-its-me joined the channel
#
[tw2113_Slack_]
post formats would be more akin to Tumblr
#
[tw2113_Slack_]
not post types
jamietanna joined the channel