#wordpress 2019-03-03

2019-03-03 UTC
tw2113, [kevinmarks], [tantek] and [frank] joined the channel
#
[frank]
[chrisaldrich] Thanks for the tips re webmentions. I'll have a look at them. On a sidenote, you might have seen some notifications from my micropub adventures last night 🙂 I was testing the Post Kinds plugin with my Genesis theme and I couldn't get it to work properly. It turned out there's a conflict with the Yoast SEO plugin. I already notified David about this.
#
[frank]
I deactivated the SEO plugin so I could work on the template. I used one of your blogposts as a placeholder-bookmark. But it turns out, when your blogpost has comments, they are also included in the micropub response into my WordPress database... Is this because you send them along or because the plugin picks them up? I'm not quite sure how this works...
[kevinmarks] joined the channel
#
[frank]
chrisaldrich++ for the webmention tips
#
Loqi
chrisaldrich has 12 karma in this channel over the last year (48 in all channels)
[mrkrndvs] joined the channel
#
[mrkrndvs]
Just a question, what does it mean to get a 'forbidden' response when I enter my url in the webmention ping box?
[kevinmarks], wagle and [tonz] joined the channel
#
[tonz]
[aaronpk] adding json to mod security fixed the issue.
#
sknebel
[tonz]: great to hear! so you asked your hoster to do that and they changed it for you?
#
sknebel
[mrkrndvs]: on your site or on others? my first theory without looking into it further would be some security thing getting in the way
[kevinmarks], [jgmac1106], [tantek], tw2113 and [tonz] joined the channel
#
[tonz]
[sknebel] Yes, I opened a ticket asking them to add the rule for json, they asked me for the relevant parts of my logfiles, and then fixed it within minutes. Good service I thought.
#
sknebel
yes, nice if they can handle that so promptly
[jgmac1106] joined the channel
#
sknebel
[mrkrndvs]: should maybe have asked that first: just a plain "forbidden", or any more details?
#
GWG
I know what it means
#
GWG
It means that the webmention endpoint is somehow asking for authentication
[grantcodes] and [frank] joined the channel
#
[frank]
I switched from the Genesis childtheme to the Independent Publisher theme on my WP blog. Too much loose ends and nitty gritty things I wanted to change in Genesis and a whole lot of overhead in code and possibilities because of the Genesis theme.
#
GWG
[frank]: I have a fork of the Independent Publisher theme that is more Indieweb friendly, if you want to try irt.
#
GWG
It is a WIP though.
#
GWG
But should be good enough for daily use.
[Rose] joined the channel
#
[Rose]
While you're here GWG, how do I add classes to things in WordPress? E.g. h-entry.
#
GWG
[Rose]: You'll have to elaborate.
#
[Rose]
Everything I've googled seems... strange. Would post_class sound right?
#
GWG
post_class is what usually wraps around a single post
#
GWG
By default, WordPress itself adds hentry here
#
GWG
I have an article that might help
#
[Rose]
I'm making a child theme. And I want it to add any microformats not present in the parent theme.
#
[Rose]
Your article will probably be exactly what I need.
#
Loqi
[David Shanske] Converting WordPress Themes for Microformats 2 – Part 1
#
GWG
Probably due for an update
#
GWG
And I never wrote more
#
[Rose]
This looks like exactly what I need to put me on the right track. This is my project for next weekend.
#
GWG
[Rose]: You can also look at my work in iw26 and indieweb publisher, where I tried to convert the theme a bit.
#
GWG
I'm not a designer, so most of my work was modding
#
[frank]
GWG I'm interested, no problem if it's WIP. Everything on my side is always that way...
#
Loqi
GWG has 80 karma in this channel over the last year (166 in all channels)
#
GWG
Always happy to help if I can
#
[Rose]
GWG++ as well.
#
Loqi
GWG has 81 karma in this channel over the last year (167 in all channels)
#
[Rose]
Frank are you using Genesis too?
#
[frank]
[Rose] I used Genesis for our corporate website. With pages, custom post types and the works
#
[frank]
For my personal site I switched to Independent Publisher
#
[Rose]
I'm using it on my personal site, making my own child theme right now based on their one (I don't want to make many changes, basically all that's left is adding microformats), then I just need to import all my post content!
#
[frank]
You use the Genesis Sample Theme as a base?
#
[Rose]
Yup, probably a terrible idea. But I rather liked most of it.
#
[frank]
GWG Do you have any idea why in the Ind Pub theme I see both the list of available pages twice on my homepage? I use one as a widget in the sidebar, but it automatically shows a list of pages below the blogtitle and subtitle. I have no idea where to disable this.
#
GWG
[frank]: Menu settings in the customizer.
#
[frank]
Yeah... I turned it off... it still shows. Driving me crazy. No caching (because I work on localhost now) and no idea where it's coming from...
#
GWG
[frank]: I had a report the options weren't saving properly I need to investigate
#
[frank]
When I don't select a menu in for the main menu location, it still shows the available pages.
#
GWG
It may be that
#
GWG
I will get back to it eventually. Too many projects
#
GWG
I was on themes for a month and switched back to do a round of plugin fixes
#
[frank]
No worries. I'll try to fix it with some filters
#
Loqi
[dshanske] #13 Customizer Settings not Saving
#
GWG
If you want to comment
#
[frank]
GWG I already dig how I can just copy my kind-views folder for my templates 🙂 Need to tweak the CSS a bit but that's OK
[chrisaldrich] joined the channel
#
[chrisaldrich]
[Rose] I've always found that the commit trail for GWG's 2016 fork is a reasonably good example of how and where to add microformats to a WordPress theme. https://github.com/dshanske/iw26/commits/master
#
[chrisaldrich]
Start at the beginning and go commit by commit taking (or leaving) the changes your theme might or might not need. Most of the commit messages are pretty solid.
#
[Rose]
I saw someone recommending that in the comments of the article, thanks!
#
[chrisaldrich]
If you read through it all one time to get a gist of what is happening you'll be better off. And github kindly highlights the specific changes for you so you'll have a pretty solid idea of what is/isn't happening.
#
[chrisaldrich]
Ha! Just took a look at his article (again), it was me who made that comment.... 😜
[tantek] joined the channel
#
[chrisaldrich]
As a mediocre coder, I've always found it easier to follow that than use things like Sempress as an example.
#
[Rose]
I thought it was, but I'm boarding a plane so checking was harder.
#
[Rose]
I can code, but I'm not that familiar with WP - so it's a learning curve.
#
[chrisaldrich]
no problem... good luck; travel safe.
#
[chrisaldrich]
Looking at his code also helped me a lot with some of the more modern ways of doing WordPress theme development and where code could and should be placed (especially for /DRY -ness)
#
[chrisaldrich]
I've been pecking away at making some changes to the old 2012 theme and it's night and day different as well as much older and uglier to try to make changes compared to the 2016 theme.
#
[chrisaldrich]
Maybe I should take a hack at the 2015 theme instead where I might have better luck.... and that's probably as clean and simple as 2012 is for personal website/blog.
[schmarty] joined the channel