#wordpress 2017-09-02

2017-09-02 UTC
[manton], sebsel, EmreSokullu, EmreSoku_ and davidmead joined the channel
#
davidmead
GWG: What does the “Set Twitter from Post Excerpt” do in the Bridgy plugin?
#
GWG
It should set the tweet from whatever is in the excerpt box
[miklb] joined the channel
#
[miklb]
<narrator voice> it doesn’t
tantek joined the channel
#
GWG
It did when I built it
#
[miklb]
I thought there was an issue open on it already. I’ve never seen it work in my WP set up.
[kevinmarks] joined the channel
#
davidmead
ah, ok. I’m trying to find (again) what’s adding “Posted on 2017-09-02 by davidmead” into my tweet on Twitter.
#
davidmead
only seems to happen when I post something with a “title”
#
davidmead
GWG: excerpt box?
#
GWG
It's built in to WordPress
#
davidmead
found it - seems I’m causing that text to be sent to Twitter with the ‘Add mf2 p-author and v-card to article’ function I added
#
davidmead
why is web hard ;-p
#
GWG
Hmm...
#
davidmead
miklb: can I use the function you wrote for adding hentry, to add a class to another element? https://github.com/davidmead/child-themes/blob/master/twentyseventeen-child/functions.php
[tantek], tantek and [miklb] joined the channel
#
[miklb]
should be able to. You can also look at the functions in the mf2 plugin. they are probably similar
#
[miklb]
oh, I misread your question. Sorry. Yes, you should be able to filter the post class with additional classes
tantek, [tantek], davidmead and [miklb] joined the channel