#wordpress 2018-02-28

2018-02-28 UTC
[kevinmarks], brokaw, tantek, [tantek] and [eddie] joined the channel
#
Ruxton
beats head on desk @ _s
#
GWG
Ruxton: What's wrong?
#
Loqi
[davidakennedy] #1268 Remove Microformat Classes from CSS
#
GWG
Ruxton: How do you think I feel? It has been 2.5 years of me pushing it
#
Ruxton
after all the discussion, all the work, they doubled-down on idiocy
#
GWG
Ruxton: I've decided to stick to Indieweb projects for now
#
Ruxton
what boggles the mind most, is nobody is pushing them to do other markups, they're taking them on themselves, but a small team of people were doing and offering to do the mf2 stuff and they were like "nah, nah.."
#
Ruxton
GWG: I've been in WP since shortly after it released, it's really hard to move out, but recent changes have been really annoying the shit out of me from a dev perspective
#
GWG
Ruxton: What are you thinking?
#
Ruxton
I've wanted out for the last year or so, I just don't have a better solution
#
GWG
I still like WordPress. I just think that I may move toward using Micropub for a Post UI
#
GWG
Ruxton: Does this mean no more PRs from you?
#
Ruxton
I've wanted out for the last year or so, I just don't have a better solution
#
Ruxton
nah nah, I'll be using it for the unforseeable future
#
Ruxton
I'm just eyeing off solutions
#
Ruxton
I spent a weekend trying to fix the Known importer to get out, but it wasn't fun
#
GWG
Ruxton: So, how can we make it better without Core?
#
Ruxton
more themes with better support for the things
#
GWG
Well, I wish I was a better themer
#
GWG
I have been working hard on the UI for my plugins
#
Ruxton
me too ;) that's why I've just been poking away at making Zenpress have better support, because I'm using it
#
Ruxton
and it'd be nce to have a theme that "just worked" that looked great
#
GWG
I agree
tbbrown, [miklb], brokaw, [jeremycherfas], jeremycherfas, jeremych_ and [pfefferle] joined the channel
#
[pfefferle]
good morning
#
Loqi
good morning
#
jeremych_
Hello Mattias.
#
[pfefferle]
hey jeremy
#
jeremych_
Just downloaded the latest build of ZenPress; hope to have time to adapt my child theme later today. In particular need to look at #primary and the sizing of the hero image, both things I want to adjust.
#
[pfefferle]
I changed the handling of the stylesheet a bit, to load only the styles for the matching screen size…
#
[pfefferle]
to save bandwith 😉
#
[pfefferle]
to use the @import, you should add the screen size like `@import url(“shetland.css”) screen and (max-device-width: 480px);`
#
jeremych_
Thanks
#
[pfefferle]
Let me know if you need some help… I would love to see some childthemes
#
jeremych_
Sure
[kevinmarks], brokaw, jeremycherfas, tbbrown, tbbrown_, [eddie] and [dgold] joined the channel
#
jeremycherfas
Need help understanding the use of get_header_image() in WP. ZenPress uses it to set up some inline CSS that displays a hero image at the top of the Home Page. However, because it is loaded from index, I do not seem to be able to override in my child stylesheet.
#
jeremycherfas
I can see where in functions.php the presence of header_image is being picked up. But I cannot see how to provide a header image but override the way ZenPress adds it to the <head>
wagle_, petermolnar_ and [miklb] joined the channel
#
[miklb]
I’ve been looking at `get_header_image` and it is confusing how it works. As to overriding it, I _think_ you can make your own call to `header_image` in your child theme to override the params set in parent theme. As to how parent theme loads it as a background image, I believe that’s being done for a better responsive image, but haven’t looked at where that function is.
#
[miklb]
parent theme loads it == ZenPress
#
jeremycherfas
There seems to be a complex relationship between the header image and putting in the HEAD. I suppose I could hard code the URL of the image in my child theme's functions.php and override that way.
#
jeremycherfas
But I think it may be simpler to put my own call in the correc template.
#
jeremycherfas
Anyway, I've done enough for today.
#
[miklb]
I really need to lock myself in my office and write this damn base theme I have swirling in my head.
#
[miklb]
just can’t afford the time right now 😞
aaronpk joined the channel
#
jeremycherfas
Understood completely. I'm torn between modifying a child theme I really like and starting afresh.
#
jeremycherfas
Also, there's always some glitch between developing locally and in production. This time it was leftover widgets hanging about invisibly!
#
[miklb]
I’ve done that dance 3 times in last 2 months. My idea is a really stripped down mf2 theme with no CSS stylings, just a stylesheet with the classes. Then create a clean styled child theme for better demonstration of it’s use.
#
[miklb]
I’ve always experienced ghosts with widgets and the database.
#
[miklb]
basically I’m thinking an IndieWeb theme developer starter kit
#
jeremycherfas
The problem with a stripped down theme, IMHO, is that people want to see something super pretty. I know I should be able to divorce content from presentation, but I seldom can.
#
[miklb]
that’s why I’d do a really clean starter child theme for end users, but it’s more for my own itch to have a solid mf2 foundation and clean markup to start from.
[pfefferle] joined the channel
#
[miklb]
howdy!
#
[pfefferle]
what is the problem with the header image?
#
Loqi
It looks like we don't have a page for "problem with the header image" yet. Would you like to create it? (Or just say "problem with the header image is ____", a sentence describing the term)
#
jeremycherfas
It isn't so much a problem, as that I want to be able to use a different size than your recommended one. But if I upload a much narrower image, for example, is insists that I crop it.
#
[miklb]
I don’t think [jeremycherfas] could find how the header image is being inserted as CSS into the `<head>`
#
jeremycherfas
Other than that, I have managed to get everything on my site upgraded now so that it looks good (to me) with the new ZenPress
#
jeremycherfas
Oh no, thanks [miklb] I see how it gets picked up just fine, but I cannot see how to ensure that I get the correct sizing I want.
#
[miklb]
that you can override in your own functions for `header_image`
#
[pfefferle]
I think you can add yours by overwriting this setting in your child theme https://github.com/pfefferle/ZenPress/blob/master/functions.php#L122
[kevinmarks] joined the channel
#
jeremycherfas
Ahah! That's the sizing. I could not find it for myself. Many thanks. I will have a play tomorrow and see whether I can get the effect I am looking for.
#
[pfefferle]
yes, but with a higher priority
#
[pfefferle]
[jeremycherfas] what are the problems with the size?
#
jeremycherfas
Thanks [miklb] . I wonder if there is any way of making those pixel sizes flexible. Probably not.
#
[pfefferle]
perhaps I can change it in the core
#
jeremycherfas
To me, the height is just too great. I want narrower banners, that's all.
#
jeremycherfas
Thinner, maybe, not narrower.
#
[miklb]
[pfefferle] that’s how I read the docs too.
#
jeremycherfas
It seemed to me that changes to the core don't help if they are hard-coded, as these seem to be, because different people will have different preferences for that sort of thing.
GWG joined the channel
#
[pfefferle]
maybe change it by a filter or setting
tantek, aaronpk, jackjamieson, [eddie], [cleverdevil], [miklb], [kevinmarks], tbbrown and chrisaldrich joined the channel