#wordpress 2020-07-14

2020-07-14 UTC
[KevinMarks] joined the channel
#
[chrisaldrich]
GWG, it used to work properly on the twentysixteen theme though, so I'm curious what the difference/problem is?
#
GWG
Not sure
[tantek] and [pfefferle] joined the channel
#
[pfefferle]
[chrisaldrich] As far as I know, we never implemented facepiles for the RSVPs...
#
[pfefferle]
[chrisaldrich] I had a look, it should work! if you enable facepiles for rsvp, do you see them as both? facepiles and comments?
[tantek] joined the channel
#
[pfefferle]
[chrisaldrich] do you have an example link for me?
[KevinMarks], aaronpk, Ruxton and [Ana_Rodrigues] joined the channel
#
beko
GWG: got an example. https://php.microformats.io/?url=https%3A%2F%2Flostinawesome.wordpress.com%2F2020%2F07%2F14%2Fblogstoeckchen-narbengeschichten%2F looks just fine but I get nothing parsed in the WordPress backend. Comes back all empty but claims "Your URL has been successfully retrieved and parsed". This worked before for this very specific blog.
[jgmac1106], [KevinMarks], [schmarty], [grantcodes] and [Erik] joined the channel
#
[Erik]
So, my question for when I have spare time again, how hard would it be to use webmention.io on a wordpress site?
[pfefferle] joined the channel
#
[pfefferle]
not that hard
[tw2113] joined the channel
#
[pfefferle]
1. add the header
#
[pfefferle]
2. find a place to show the comments (perhaps above/below the “real” comments)
#
[Erik]
I like that first line a lot. I hope you're right!
#
[Erik]
What would be your first/#1 source be?
#
[Erik]
(I'm gonna stream about my static wordpress setup on thursday. Really hope I can fix it before then!)
#
[pfefferle]
it depends if you are using classic wordpress with hooks or really a static thingy using gatsbyjs
#
[pfefferle]
or something similar
#
[Erik]
I run a very normal wordpress setup on my own network. Not reachable from "outside". It generates static pages that I push to github/netlify.
#
[Erik]
So classic ánd static
#
[pfefferle]
so the static sites are generated using the theme you have installed?
#
[Erik]
Yep
#
[Erik]
(Thanks for the help already)
#
[pfefferle]
simply replace `get_webmention_endpoint()` with
#
[Erik]
I'm not used to building extension for WordPress but you're making it look very manageable
#
[pfefferle]
otherwise you have to add it to the html code
#
[pfefferle]
of your theme
#
[pfefferle]
but that is a bit hacky
#
[Erik]
Working with the extension would be very nice. Storing it in the DB like it does
#
[pfefferle]
or you have to include it in the statify process
#
[Erik]
Being able to treat them like "normal" comments is really nice
#
GWG
I thought at one point in the past I would do a webmention.io plugin for WordPress... but I prefer self hosted, so I abandoned it
#
[pfefferle]
but it will not really work in your static site env
#
[pfefferle]
because you have to reverence the dynamic endpoint and you have to regenerate the static files on every mention
#
[pfefferle]
another “problem” is, that the urls does not match the urls of your dynamic wordpress instance, or it might even not be publicly accessible
#
GWG
[pfefferle]: If I had built a plugin, it would have downloaded the mentions from webmentions.io and stored them in comments
#
[pfefferle]
so it also wouldn’t help [Erik] at all ;)
#
[Erik]
Somewhere in the next few days I'll dive in. Thanks a lot!
#
GWG
[pfefferle]: It would because it would be on the localhost site, and the pages displaying the comments would be static...but I never built it, so...
[tantek], [manton], [chrisaldrich], [jgmac1106] and nickodd joined the channel; nickodd left the channel
#
[chrisaldrich]
[pfefferle] Thanks for taking a look at the RSVP piece. Here's an example using a child theme of TwentyFifteen (modifications for the most part only extend to microformats): https://boffosocko.com/2020/07/11/a-domain-of-ones-own-meetup-july-23-2020/
#
[chrisaldrich]
I know that the facepiling of the RSVPs used to work for the TwentySixteen theme a year or more ago, but I've just switched back and noticed that they don't facepile with it anymore either, which leads me to think it could potentially be a change in the code sometime in the last year or so (I'm presuming in Semantic Linkbacks?)
#
[chrisaldrich]
I tried changing some of the options in the Webmention settings page and re-saving to see if there was an issue there. I also tried deleting the plugin and reinstalling, but neither of these fixed the problem.
[tantek], [KevinMarks] and [snarfed] joined the channel