#wordpress 2021-09-17

2021-09-17 UTC
[tw2113_Slack_], [aciccarello] and maxwelljoslyn[d] joined the channel
#
jeremycherfas
So difficult following the templating logic of a theme made by someone else ...
#
jeremycherfas
Tempted to copy absolutely everything into a child theme, then work on that, then remove anything that has not changed.
#
GWG
jeremycherfas: Me again?
#
jeremycherfas
Only in as much as you forked the original.
#
jeremycherfas
I barely need elaborate post kinds, but at the moment it is easier to ignore than to remove.
#
jeremycherfas
Is there any way in WP of seeing which template-oparts are being used where? Some kind of diagnostic toolbar or something?
#
jeremycherfas
gwg can you tell me what `iw26_entry_meta()` does? Where it gets the informatuion from? I thought I might find it in your `functions.php` but it does not seem to be there.
#
GWG
jeremycherfas: Under the inc folder, in template-tags or functions, I believe
#
GWG
It does the entry metadata output
#
jeremycherfas
Well, yes, I worked that out. I wonder where it gets the information because on different content- templates it displays different information.
#
jeremycherfas
For example, when content-single is part of the home page, the metadata displays the number of comments, but when it is part of a single post page, it displays the date and time.
#
GWG
jeremycherfas: Yes, I did vary it a bit
#
GWG
I should look at that... with the combination of my modifications and the original 2016 logic...
#
jeremycherfas
I see that, obviously. What I want to know is where your magic happens. I've looked in all the places I know about.
#
Loqi
totally
#
jeremycherfas
Maybe worth a few more comments in the code? Or actual, you know, documentation?
#
jeremycherfas
More likely, though, I'll go back to Automonie where I feel I have a better grasp of how things work.
#
jeremycherfas
Except that Autnomie does not easily support a sidebar.
#
GWG
I'll see about documenting more. I documented when I added, but could stand to rectify the omissions of the past
#
jeremycherfas
Not on my account, please. But maybe for those qwho come after.
IWSlackGateway and [schmarty] joined the channel