#wordpress 2020-02-29
2020-02-29 UTC
[KevinMarks] and [Jeff_Hawkins] joined the channel
# [Jeff_Hawkins] I'm just not all that interested in Gutenberg yet... Still using Classic for most everything but a bit of 'play'. I do some support help over at WordPress dot org's forums but I never need to worry about the Block Editor there.
almostdvs, gRegorLove and [Michael_Beckwit joined the channel
# [Michael_Beckwit it's an interesting time in WP, to say the least
gRegorLove joined the channel
# [Michael_Beckwit the can can only be kicked so far
# [Michael_Beckwit and i mean, if my employer is willing to pay for time to learn the process, it can only benefit in some way
gRegorLove and [asuh] joined the channel
# Loqi It looks like we don't have a page for "compatibility modes in relation to Gutenberg" yet. Would you like to create it? (Or just say "compatibility modes in relation to Gutenberg is ____", a sentence describing the term)
GWG, [tantek], [KevinMarks] and computer2000 joined the channel
# computer2000 hi guys, i need to convert GIF to MP4 in a plugin - is there a "on upload" hook or similar I can use?
[jgmac1106], [jeremycherfas], [KevinMarks], [Jeff_Hawkins] and SpencerDub joined the channel
# SpencerDub Hi all! I'm working on my child theme for Autonomie. I saw the comment a few days ago that child themes don't need to enqueue anything. I tried removing the enqueueing that I had in functions.php and my child theme lost all CSS!
# SpencerDub I guess *technically* a child theme doesn't need to enqueue anything... 😄
# SpencerDub Weirdly, when I enqueue the parent style, all the text becomes left-aligned and flows the entire width of the window.
# [Jeff_Hawkins] You know... I just use a child theme generator to spawn child themes in WordPress then let it make the initial choices. After that I only copy over the files I need to make edits in (or have made edits in before creating the child). Seems to be a lot easier that way and the child theme enables flawlessly unless I manage to clobber something in that process.
# SpencerDub I'll give that a shot, Jeff. The last time I tried making a child theme, it went much more smoothly, so I went in assuming I could do it manually again.
# SpencerDub Do you have a generator you prefer?
# [Jeff_Hawkins] In the case of the functions php I just copy (don't move - do copy) the original functions php file over and run that then make my changes there.
# [Jeff_Hawkins] BRB I can never remember that one's name.
# [Jeff_Hawkins] This is the one I usually use https://wordpress.org/plugins/child-theme-generator/
# [Jeff_Hawkins] I fall back to this one on my multinetwork multisite https://wordpress.org/plugins/child-theme-configurator/ for some reason I can't remember. So there's that if the first doesn't work well for you.
# SpencerDub Okay, this is super weird. Even when I use the generator, I have the same CSS problem: the text area spans the entire window. https://spencerdub.me/blog/
# [Jeff_Hawkins] Every 'once in a while' an update of the parent will clobber something in the child... it's usually a deprecated PHP item
# [Jeff_Hawkins] Is that with the default child theme as created? Or did you move a file into it yourself already?
# SpencerDub Default child theme as created. I haven't modified the generated child theme at all.
# [Jeff_Hawkins] And... did you look at the parent theme's page to see if there was a child prebuilt or a note about child themes from the author?
# [Jeff_Hawkins] You can't stack child themes from what I've been told... if there is a child already there.
# SpencerDub I don't think Autonomie has a prebuilt child.
# [Jeff_Hawkins] Probably not. You have two mastodon icons in your 'social media' widget also.
# [Jeff_Hawkins] Mastodon hates me for some reason.
# SpencerDub Right, that came up this week and I'm not sure why. I've seen it replicated on other sites but I've also seen people using the same theme who don't have it duplicated, so I presume there's a fix out there.
# SpencerDub I'm trying to put out fires one at a time. If I can make a functional child theme, then I can move onto diagnosing the Mastodon issue.
[jgmac1106] joined the channel
# SpencerDub Oh good, I wasn't the only one with this issue: https://github.com/pfefferle/Autonomie/issues/25
# [Jeff_Hawkins] I'm reading that right now. And I'm also wondering if you might disable a few plugins to see if one of those is breaking things.
# [Jeff_Hawkins] Ah, read down the thread there and see what Mr. Kaposki said. The same problem you, the OP, and he had.
# SpencerDub Yup. Fixed it by following his tip. And just for fun, I tested the unmodified auto-generated child theme with all plugins disabled--still the same issue.
# [Jeff_Hawkins] And if that fix recommended works then you might help others by letting the author know about the issue. Autonomie is a right popular theme so I'm sure someone else will run it on their Idieweb enabled WordPress and have a issue again.
# [Jeff_Hawkins] That looks better but the sidebar(?) is still showing under the footer!
# SpencerDub Yeah, I'm on it.
[Michael_Beckwit joined the channel
# [Michael_Beckwit don't copy functions.php files between parent to child unless they have function_exists checks and even then mostly not needed.
# [Michael_Beckwit both get loaded, so you run risk of fatal errors. if you want a child functions.php make it blank and start adding unique stuff
# [Jeff_Hawkins] Right but I usually just copy over anyway if I'm adding functions... if it works then fine... If it don't then I'll do the extra digging.
# [Jeff_Hawkins] mostly because 'I really don't know what I'm doing'!
[spieper] joined the channel
# [Jeff_Hawkins] That MrKapowski Child Theme is mostly what SpencerDub built with that plugin I recommended and incorporated what MrKapowski recommended! So, yes, and no but yes!
[manton] joined the channel
# [Jeff_Hawkins] I'm running Independent Publisher 2 which is supposed to be based on the original Independent Publisher. Supposed to be microformats II enabled but I'm still very new to this Indieweb stuff.
# [Jeff_Hawkins] I figured I have some work to do there yet but I'm getting there.
# [Jeff_Hawkins] The cool part is that I built the 'web that I want' there and can posse out what I've done.
[KevinMarks] joined the channel
# david.shanske.com edited /WordPress/Themes (+157) "/* Solutions for Themes not Natively Supporting Microformats */" (view diff)
[Michael_Beckwit joined the channel
# [Michael_Beckwit [Jeff_Hawkins] part of why i'm trying to help you 😉 so you gain more WP knowledge
# [Michael_Beckwit both parent and child functions files get loaded, so there's no need to copy content. the parent's also gets run just like always
# GWG How does this look? https://wpdev.gwg.us/wp-content/uploads/2020/02/CitationTest-1024x562.png
# [Michael_Beckwit looks good to me
hacdias1 and [asuh] joined the channel
[Grant_Hutchins] joined the channel
# [Grant_Hutchins] I saw that micro.blog supports `POST`ing to `/ping` when I publish. Where do I set this up?
# [Grant_Hutchins] Never mind, I found it under the IndieWeb > Syndication Links settings