#wordpress 2018-02-14

2018-02-14 UTC
[cleverdevil], [tantek] and [xavierroy] joined the channel
#
GWG
And just internationalized it.
#
[xavierroy]
great.. So there is nothing that I can help with for this commit...
#
GWG
Well, still working on the design.
#
[xavierroy]
One thing that I would really like is to ensure some settings that I configure stay updated after a plugin upgrade..
#
[xavierroy]
things that I tweak in code.. I know there is no child plugin functionality in WP
#
GWG
What are you tweaking?
#
[xavierroy]
Those hidden options like enabling in Quick Edit, some additional kinds that are hidden by default.
#
GWG
You know you can do that with a second plugin, right?
#
[xavierroy]
Oh. Didn't know that.
#
GWG
The kind settings are filterable.
#
[xavierroy]
I'm not a programmer πŸ™‚ I know enough to tweaksome settings here and there
#
GWG
Right now, my focus is the interface.
#
[xavierroy]
Got that. Anything that you would like to help with that
tantek joined the channel
#
GWG
Not specifically
tantek, [mifga] and [mrkrndvs] joined the channel
#
[mrkrndvs]
GWG my belated feedback is that I don't think I will know my thoughts about the removal / incorperation of the heading etc until I start using it. My concern is that sometimes with Bookmarks I give a different heading to the link being referenced. I created that workflow, it can be adapted again πŸ€·β€β™‚οΈ
#
[mrkrndvs]
[xavierroy] like the idea of a second plugin to filter πŸ‘
#
[xavierroy]
[mrkrndvs] what I do is switch the post kind so that the title field is displayed, then give your title and switch back again
tantek and [pfefferle] joined the channel
#
[pfefferle]
Good morning
#
Loqi
rise and shine!
tantek joined the channel
#
Ruxton
[pfefferle]: I just threw another PR to ZenPress which should probably go in alongside post kinds PR, to stop wordpress-micropub auto generating content.
[gerwitz], tantek, jeremycherfas, [kevinmarks] and [xavierroy] joined the channel
#
[xavierroy]
I tried out the Amazon Polly WordPress plugin. Here is a post :https://xavierroy.com/2018/01/18/art-of-explaining/
#
Loqi
[Xavier Roy] Explaining is a difficult art. You can explain something so that your reader understands the words; and you can explain something so that the reader feels it in the marrow of his bones. To do the latter, it sometimes isn’t enough to lay the evidenc...
#
[xavierroy]
Planning to use this for my marginalia posts. A range of voices makes this an interesting thing to have.
#
GWG
Interesting
#
GWG
I was thinking of adding an option to not hide the title. Officially, only articles are supposed to have titles.
#
[xavierroy]
[dshanske] yeah. But I like using the title field so that I get a cleaner url structure rather than the post id.
#
GWG
You can set the slug without setting the title
[mrkrndvs] joined the channel
#
[mrkrndvs]
GWG I like how your 2016 theme only shows the heading when you view the post. I like the creativity associated with the title and I like to use emojis to differentiate the kind or category
#
GWG
I'm going to see what I can do to address the idea of no explicit title without disabling the ability to set one.
#
[mrkrndvs]
Sounds like a fair compromise I guess. Again, I am not convinced either way and hold my judgement til after using it
#
GWG
I try to do what I think is best for my own use while being aware of how other people use it
#
GWG
Which is why my solution is to usually make something an option if not everyone wants it
#
GWG
So, the likelihood is the solution is to have a toggle that disables the title hiding.
#
[xavierroy]
[dshanske] are there plans to split up the views from the kinds plugin so that updates do not affect any custom changes?
#
[xavierroy]
Maybe they can be included in 2016 theme if not already done
#
GWG
[xavierroy]: You can put a copy of them into your theme and it will override the one built into the plugin. I set it up that way on purpose.
#
GWG
If you have a child theme, for example, add a directory under the theme called kind_views and any copy of the view that is in there will override the one in the plugin
#
GWG
The goal of Post Kinds is to be an extensible framework. So it can be extended by anyone neatly without hacking the files.
#
GWG
So, each iteration I unbundle more pieces
#
GWG
For example, in the current version that I'm working on, I'm separating out more pieces into their own functions to help in custom view files.
#
GWG
The only person I know who does them so far though is miklb
#
GWG
Turning on Kinds can be done by setting a filter in a second plugin or in a theme
#
GWG
Etc
#
[xavierroy]
Great. Will try that approach
#
GWG
That's why I recommend against editing the plugin itself. Because if it is something you keep doing, you'll have to do it every time I update. Whereas if you do it in the theme or a second plugin, it will persist
#
GWG
Happy to help in getting anyone set up that way
#
GWG
There are a lot of changes I continue to make over time, and I may break things for people that way
#
GWG
I'm preparing for the future, where Gutenberg might make me not want to use the default Post UI
#
GWG
So I'm looking to making Micropub more compatible so that Post Kinds could just render microformats and not worry too much about the UI. But still working on UI ideas and options.
#
GWG
But deliberately moving the pieces to be more independent of each other.
jeremych_ and [xavierroy] joined the channel
#
[xavierroy]
[dshanske] thanks. How do you set up a second plugin? I searched for setting up child plugins.. didn;t seem to get any meaningful results
sebsel, Zegnat, Kaja_, tantek and [eddie] joined the channel
#
GWG
It isn't a child plugin, it's just an independent one
#
GWG
I can write an example
[kevinmarks], Kaja_, tantek, jackjamieson, [eddie], [mlopatka], [sebsel] and [mrkrndvs] joined the channel
tantek, gRegorLove, [kevinmarks], [eddie] and sebsel joined the channel
#
GWG
That's the idea, yes.
#
GWG
I could probably do a gist
[kevinmarks], [cleverdevil] and [chrisaldrich] joined the channel