#wordpress 2019-10-12

2019-10-12 UTC
[KevinMarks], [tantek], [aaronpk], gRegorLove_, [Lewis_Cowles], [fluffy], bengoDiscord[m], [jeremycherfas], [Nicolas_Hoizey], iburnmycdDiscord, [jgmac1106], [Rose], dougbeal| and [grantcodes] joined the channel
#
dougbeal|
GWG: I found another releated bug... the comment_author_email is getting "mailtoblog@dougbeal.com", which is presumably escaped/striped from mailto:blog@dougbeal.com. I glanced through the code, but haven't identified where it is happening
#
dougbeal|
GWG: I saw that, didn't think it was the cause if it just adds slashes
#
GWG
Yes, but I don't think we ever pruned out the mailto:
#
dougbeal|
What do you think is stripping the colon out?
#
GWG
Well, it should turn it into an email
#
GWG
dougbeal|: I'm looking at the mf2 on your site
dougbeal| and [dougbeal] joined the channel
#
[dougbeal]
GWG: the two different email addresses?
#
GWG
Yes
gRegorLove_ and [Rose] joined the channel; IBurnMyCDTRTLDis left the channel
#
[dougbeal]
It picks up the one in the h-card, so I would say working as intended
#
GWG
Yes, but my code picks up both
#
GWG
Actually, technically both are code I contributed to
#
GWG
But my newest code
#
[dougbeal]
If it was a multi user wp installation, would there be a general site email? Not saying that’s what I’m doing... mine is just cruft
#
GWG
There could be
#
GWG
But that is an interesting question as to how you indicate that
#
GWG
More general
gRegorLove_, [tantek], [KevinMarks], [jgmac1106] and [Michael_Beckwit joined the channel
#
cambridgeport90[
Someone was asking earlier why Microformats 2 has to be supported in each individual theme. We use the Divi theme on a org site and want to include some IndieWeb functionality.
#
cambridgeport90[
site in question is [StormlightTech](https://stormlighttech.org)
#
[Michael_Beckwit
there's no automated way that a plugin, or really even WordPress core, to include microformats, so it's up to the theme developers to handle themselves
#
cambridgeport90[
o then I take it we will just have to use the plugin for that with Divi. Somehow I don't see Elogant Themes trying to get this.
#
[Michael_Beckwit
Even that detail is potentially troublesome because the plugins need various hooks to be present in the theme to integrate in with
#
[Michael_Beckwit
and there's no guarantee that they'll be three
gRegorLove joined the channel
#
[Michael_Beckwit
there*
#
[Michael_Beckwit
and i've seen Divi's output, it's not pretty 😄
#
[Michael_Beckwit
not saying it's not possible with that theme, it'd just be an interesting task
#
cambridgeport90[
I guess I ought to thanmk the gods then that I'm not the web designer .
#
[Michael_Beckwit
it has it's fun alongside it's headaches, much like most everything
#
cambridgeport90[
My friend keeps asking me why I try to jump content management systems for my personal site. Have yet to find a hashtag plugin for WordPress that will let me use them as categories; I use lots of tags, but only my viewers on site can see them right now.
#
GWG
You want to automatically turn hashtags into tags?
#
cambridgeport90[
Indeed, and then to have them posted on the Twitter when the post goes out. I think I might have to use another plug-in for that, though.
SoreGumsDiscord[ joined the channel
#
GWG
I recall there is a plugin for that
[dougbeal] joined the channel
#
[dougbeal]
Does it make inline hashtags act as wordpress hashtags? I would like that, I think
#
GWG
[dougbeal]: Yes, I remember seeing one
#
GWG
Or two
#
[Michael_Beckwit
a touch of preg_replace() and the "the_content" filter would go a ways too, if you want to homebrew a solution
#
[Michael_Beckwit
$caption = "Some text with a hashtag #quote";
#
[Michael_Beckwit
$caption = preg_replace('/#([\w.]+)/u', '<a href="https://twitter.com/hashtag/$1">#$1</a>', $caption);
#
[Michael_Beckwit
echo $caption;
#
[Michael_Beckwit
results in: Some text with a hashtag <a href="https://twitter.com/hashtag/quote">#quote</a>
#
cambridgeport90[
Thanks for reminding me about that.
#
[dougbeal]
the wordpress tag interface is a PITA when making a daily post with the same tags.
#
[dougbeal]
I guess it would just 404 if the tag didn’t exist
#
Loqi
[Peter Raschendorfer] Description The hashtagger Plugin allows you to use #hashtags, @usernames and $cashtags in your posts This plugin uses the WordPress Tag system to automatically convert a #hashtag into a Post Tag. Each #hashtag is added as a “normal” tag (withou...
#
GWG
I don't use it, but...
#
cambridgeport90[
I meant to install that but never got around to it.