#wordpress 2020-02-21

2020-02-21 UTC
[Katherine], gRegorLove, [dave], [KevinMarks], [jgmac1106], [chrisaldrich], [Michael_Beckwit, [datashaman], SpencerDub and swentel joined the channel
#
SpencerDub
A question for anyone familiar with the Autonomie theme: is there any way to change colors in the theme without creating a whole new child theme? I've tried adding CSS via WordPress's "custom CSS" tool, but it doesn't seem to override the theme's defaults.
#
SpencerDub
I don't mind making a child theme, but I'm uncertain what all I'd need to enqueue in the child theme's `functions.php`.
[pfefferle] joined the channel
#
[pfefferle]
What color do you want to change?
#
Loqi
[pfefferle]: GWG left you a message on 2020-01-19 at 3:58pm UTC: I feel like I am flooding you with PRs. Do you want me to try to find another reviewer for the projects under the Indieweb repo?
#
[pfefferle]
should make a demo child theme
#
SpencerDub
Oh hey, pfefferle. You're the person to ask. :)
#
SpencerDub
I want to play with background colors for both light and dark versions. And link highlight colors.
swentel left the channel
#
[pfefferle]
Background of the whole site or only for paragraphs?
#
SpencerDub
Whole site.
#
SpencerDub
Though now that I'm saying this, I also want to tweak the theme to add support for featured images in categories, so maybe it'd be more useful to just get a child theme running anyway.
#
[pfefferle]
!tell GWG I will try to review as much as I can, but feel free to add other reviewers if you trust them
#
Loqi
Ok, I'll tell them that when I see them next
#
[pfefferle]
I think loqi blocked some of my answers ๐Ÿ˜ž
#
GWG
[pfefferle]: I just fear overloading you, especially when I'm stuck in a hotel for 2 months and have nothing better to do than code
[Michael_Beckwit joined the channel
#
[Michael_Beckwit
honestly, as long as the CSS selector matches or is stronger, and loads last, you should be able to override any CSS property
#
[Michael_Beckwit
Customizer "Additional CSS" panel and all
#
[Michael_Beckwit
hi Matthias, btw
#
[pfefferle]
@SpencerDub I will try to add a demo child theme to my github profile later today, so you have a starting point!
#
[pfefferle]
And I will have a look if it is possible to add some more settings to make the background color customizable
#
GWG
[pfefferle]: Either way, I invited [Michael_Beckwit to be a reviewer on some projects as appropriate to his comfort level
#
[pfefferle]
๐Ÿ‘
#
[pfefferle]
Have you add him to the wordpress group?
#
GWG
I think I still have some IndieAuth and Webmention stuff
#
GWG
[pfefferle]: Yes
#
[pfefferle]
Then you can simply require a review from the group and everyone in the group will get a reminder
#
[Michael_Beckwit
:thumbsup_all:
#
GWG
Right now, trying to fiddle with automatically generating forms for a post UI using a simplified schema like array
#
SpencerDub
@pfefferle That would be awesome, thanks!
#
[pfefferle]
thinks about adding negative margins to be more error resistent with Autonomie ๐Ÿ˜
#
[pfefferle]
GWG the IndieAuth merge requests are very big and itโ€™s hard for me atm. To find the time to review it properly
#
[Michael_Beckwit
pets his Autonomie child theme
#
Ruxton
[pfefferle]: negative margins are a nightmare space, be careful
#
GWG
[pfefferle]: I know. The same with the mf2 stuff for webmentions. I couldn't figure out how to break them up
#
Ruxton
hits his Autonomie teen theme
#
[pfefferle]
But there are so much plugins that do not add proper containers or some weird css so they stick to the left ๐Ÿ˜ž
#
[pfefferle]
GWG I will review the wm for sure!
#
[chrisaldrich]
Loqi, Autonomie or Sempress?
#
SpencerDub
One last question: How could I make the h-card on my WordPress blog reflect the h-card at my dedicated bio page? Right now I have two different h-cards.
#
Loqi
I'm pretty sure sempress
#
GWG
[pfefferle]: The mf2 webmention stuff is waiting to see if it can merge, then I can see about some unit tests as well. I find writing them a challenge though
#
SpencerDub
(this is a very newbie question, I'm still wrapping my mind around mf2 stuff)
#
[chrisaldrich]
What is authorship?
#
Loqi
authorship is how to indicate who the author is for a post, and an algorithm that determines the author of a post https://indieweb.org/authorship
#
GWG
SpencerDub: You can only have one h-card per se
#
GWG
So, where do you want it... homepage or about page?
#
[chrisaldrich]
SpencerDub, there are some ideas on that link ^^
#
GWG
You have one direct to other
#
GWG
[pfefferle]: That's why I am waiting..if you don't like the direction, no point in adding tests
#
[Michael_Beckwit
i'm mostly just glad that i'm regularly-enough blogging again, long-ish form and everything
#
SpencerDub
Thanks for the link, that page gives me a place to start.
#
[chrisaldrich]
SpencerDub, I was doing the same thing a week or two back. Using indiewebify.me can be helpful for testing.
#
SpencerDub
@chrisaldrich Yup, it's in my toolbelt!
#
[chrisaldrich]
There are also some useful parsers listed at /tools
#
[pfefferle]
Isnโ€˜t it also possible to add a rel-me link to the profile page?
#
GWG
[pfefferle]: Yes, but no consumer looks at that
#
[pfefferle]
Thatโ€™s not very DRY
#
[pfefferle]
What consumer uses the โ€žglobalโ€œ h-card atm.?
#
GWG
I know we discussed the idea of a property in an h-card that represented where to find an expanded card, but it never went anywhere
#
[pfefferle]
And why do I need a global h-Card?
#
GWG
[pfefferle]: Global meaning?
#
[pfefferle]
An h-Card on my homepage
#
GWG
[pfefferle]: The idea being your h-card represents you and your homepage is your identity
#
[Michael_Beckwit
bed time for me, catch y'all later.
#
[pfefferle]
Ok, but is there any usecase?
#
[pfefferle]
A real consumer?
#
GWG
[pfefferle]: Of the split h-card, not at the moment. It was mostly discussed as a clutter issue
#
[pfefferle]
I ask, because it is so often discussed but I never saw anything consuming it
#
[pfefferle]
I have none on my site and never had issues
#
[pfefferle]
Otherwise I would love to add it to Autonomie if it is required
#
GWG
The only thing I know that everyone consumes is a basic h-card linked on the consuming page.
#
[pfefferle]
Like webmentions?
#
GWG
Yes, or Microsub readers
#
GWG
So, name, url, photo
#
GWG
And if just url, most will retrieve the URL to get the other.
#
[pfefferle]
Yes, but that is no problem, because of the h-entry author
#
[pfefferle]
I just think about why/how to add a homepage h-card
#
GWG
[pfefferle]: For person tagging
#
[pfefferle]
And that is done by?
#
GWG
aaronpk, for example, tags my URL all the time when we are at the same Indiewebcamp
#
GWG
He's not alone
#
GWG
chrisaldrich person tags me
#
GWG
Webmention to homepage
#
GWG
Also, nickname caches would have to get their data from somewhere
#
GWG
So a minimal h-card might be needed
#
[pfefferle]
Ok, thanks for the explanation
#
GWG
[pfefferle]: Hope I was clear/right
#
[pfefferle]
๐Ÿ˜Š
[fluffy], [KevinMarks], [datashaman], tomasmoberg, [schmarty] and [jgmac1106] joined the channel
#
stefanos82
greetings everyone.
#
stefanos82
what's the WordPress topic of the day?
#
GWG
stefanos82: Not sure...slow day. Anything on your mind?
#
stefanos82
custom tables for WooCommerce?
#
stefanos82
so many metadata that should have been in their own tables
#
GWG
stefanos82: Haven't followed it much, to be honest.
#
stefanos82
no worries
#
stefanos82
right now, I'm facing a rather peculiar issue with woocommerce
#
stefanos82
I have a product that expires tonight local time at 23:59 and for some reason it considers it expired and shows its regular price
#
stefanos82
weird...
#
GWG
Do you have a personal website?
#
stefanos82
not a personal, but one that I have worked for, for a couple of months
#
stefanos82
I worked on customizing it as much as possible
#
stefanos82
for a customer
#
GWG
A lot of our discussions in this channel are about personal sites
#
stefanos82
I see
#
stefanos82
well, you could say this website feels like a personal one, at least to me
#
GWG
stefanos82: Just curlu
#
stefanos82
what's curlu?
#
GWG
Just curious..
#
GWG
Sorry, mobile
#
stefanos82
ah lol
#
stefanos82
you can visit it if you want to
#
stefanos82
it's frescomarket.com.cy
#
stefanos82
the problem is visible in https://frescomarket.com.cy/en/on-sale/
#
GWG
Cy is Cypress, right?
#
stefanos82
Cyprus
#
stefanos82
Cypress is a tree lol
#
GWG
Sorry, typo
#
GWG
Autocomplete again
#
stefanos82
the products that do not display red "Sale!" on their upper left corner display their regular price
#
GWG
But the #wordpress room might have some Woocommerce experts
#
stefanos82
but when I go to the product in dashboard, I can see the expiring sales date is today
#
stefanos82
they don't talk at all, I have tried
#
GWG
We're #indieweb-wordpress
#
GWG
Odd.
#
stefanos82
they have moved to slack
#
stefanos82
that's why
#
GWG
We might have someone here who uses Woocommerce.
#
stefanos82
that would be very helpful
#
GWG
I personally don't, not sure I can help
#
GWG
You might need to watch the room
#
beko
hm? don't they bridge to Slack?
#
GWG
See if someone reads the scrollup
#
stefanos82
beko: I have no idea as I don't use Slack myself
#
beko
I won't until the pidgin plugin works again. Damn legacy tokens ._.
#
stefanos82
the wordpress channel has 13 users, wordpress-dev 13, and woocommerce 15
#
stefanos82
so...
[schmarty], [dave], [LewisCowles], tomasmoberg, [jeremycherfas], [tantek], drshamoon[m], buztedDiscord[m], felixschlDiscord, NatoBoram[m], lyon[m], Dr_JayWDiscord[m, wourslerDiscord[, ritewhose[m], Rick[m], prtfw[m], dostDiscord[m], TianyiDiscord[m4, SnoochToTheNooch, KeegenDiscord[m], jimpick[m], babaitDiscord[m], cyluDiscord[m], pierreboc[m], DiscordBridge[m4, JoejoeDiscord[m], AltFreqDiscord[m, NetherwolfDiscor, freethinkingawa4, ngamboaDiscord[m, berDiscord[m], reddDiscord[m], RyonezCoruscare0, eddy[m], icaruszDiscord[m, gregjeanmartDisc, ianfixesDiscord[, TroyDiscord[m], msena3[m], FrenchBackBoneDi, jenncloud[m], aeddi[m], olizillaDiscord[, neohexDiscord[m], raisDiscord[m], icaruszDiscord[4, aaronpkDiscord[m, carsonfarmer[m], M3baidDiscord[m4, blzDiscord[m], chris[m], wossDiscord[m]1, foxcoolDiscord[4, JaoheahDiscord[m, gozala[m], pcowgillDiscord[, DamirDiscord[m], Dazuck-3BoxDisco, Akshay[m]1, brewskiDiscord[m, JonwelDiscord[m], JustMaierDiscord, sethforkDiscord[, h2Discord[m], Discord[m]1, RichardLittDisco, Lilz|BetaMe[m], n9tDiscord[m], gabrielbaron16Di, cannabysDiscord[, HaybalesDiscord[, ZipperSKDiscord4, hvergaraDiscord[, macerbi[m], MairkurDiscord[m, JungleHeartDisco, celsoDiscord[m]1, cesarosum[m], CathyLDiscord[m], KarlDiscord[m], itsmekntDiscord[, bltavaresDiscord, SweatDiscord[m], koalalorenzoDisc, bengoDiscord[m], ptonerDiscord[m], aphelionzDiscord, amatuniDiscord[m, abhi_Discord[m], codynhatDiscord[, prtfwDiscord[m], SpidermanDiscord, Oxy[m], doopDiscord[m], fexra|TRTLDiscor, DoggersUniteDisc, felixschlDiscor4, HooftlyDiscord[m, TionisDiscord[m], hvergara[m], kanejDiscord[m], nilocDiscord[m], PhillmacDiscord[, kanej[m], jessicaschilling, kbo8999Discord[m, denzuko-at-workD, MesaDiscord[m], M123897974564Dis, fozzie[m], M|NecoDiscord[m], johanhermanDisc4, mapachurroDiscor, [amy], [KevinMarks], [Michael_Beckwit, [chrisaldrich] and jeremycherfas joined the channel