#wordpress 2021-12-21

2021-12-21 UTC
[davidmead], IntriguedWow[d], jeremycherfas, sayanarijit[d], PK[d], RIZY101[d], aparecidabosco32, In_another_world, fef, [jacky], Eddy04[d], marksuth[d] and barryf[d] joined the channel
#
GWG
[tw2113_Slack_]: Can I pick your brain?
#
[tw2113_Slack_]
sup
#
[tw2113_Slack_]
i’m watching ElasticSearch reindex so i have some braincells free
#
GWG
It's a Micropub/IndieAuth issue
#
GWG
Right now, I'm storing client data inside the token, then inside the post made by the token
#
GWG
I'm thinking I should start storing it in the terms table as a taxonomy.
#
GWG
Wanted another opinion
#
[tw2113_Slack_]
what type of data is it?
#
[tw2113_Slack_]
simple strings?
#
GWG
Client ID, which is a URL. Client Name. Client Icon
#
[tw2113_Slack_]
when we say client data, we don’t mean users, correct?
#
GWG
No. Client as in Application
#
GWG
So, Quill is a client
#
[tw2113_Slack_]
kk
#
[tw2113_Slack_]
while not necessarily fitting the idea of taxonomies and terms, i get the appeal of storing there as well for performance stuff. postmeta is a beast
#
GWG
[tw2113_Slack_]: Well, the impetus to update the storage was [chrisaldrich] asking about being able to add a note to a post that is was posted using Client X
#
GWG
So, that sounds like a term archive would be interesting
#
[tw2113_Slack_]
i could see notes about a given client as being either child posts, or perhaps terms/term meta?
#
[tw2113_Slack_]
trying to fit this idea into the general schema of WP is an interesting one
#
GWG
I'm not sure what notes
#
[tw2113_Slack_]
ah that provides some extra information
#
[tw2113_Slack_]
not sure what the taxonomy may be named, but in that example `/notes` could be perhaps a parent term, and then the actual client name being a child term
#
GWG
Well, I did location as a taxonomy. That worked, although that included term meta
#
[tw2113_Slack_]
term meta would work just as well here