#wordpress 2017-07-25

2017-07-25 UTC
[miklb] joined the channel
#
[miklb]
w00t. phpcs 3.x working with WordPress Coding Standards
#
Loqi
yay!
tantek and [chrisaldrich] joined the channel
#
[chrisaldrich]
miklb++ for outreach to jtsternberg, who has some great WP PESOS plugins (Instagram importer and Twitter importer) https://twitter.com/miklb/status/889126356583411712
#
Loqi
miklb has 3 karma in this channel (41 overall)
#
Loqi
[@miklb] @Jtsternberg You are describing what the indieweb movement is about. There are some folks trying to make it easier to do with WP as we speak. Join us.
#
[miklb]
didn’t get a response, but I’ve crossed paths with Justin online for a few years now.
#
GWG
Crossed paths sounds like there might be a story.
#
[miklb]
oh, no. Just interactions around WP & development. I’m a big fan of CMB2
#
GWG
I'm not sure there will be much Indieweb this week for me.
#
[miklb]
understandable after a month on the road.
#
GWG
I have a lot of stuff to handle
#
[miklb]
hope everything is ok
#
GWG
Administrative stuff.
tantek joined the channel
#
aaronpk
just installed wordpress to test something
#
GWG
aaronpk: Share with us?
#
aaronpk
is confused at the built-in widget on the dashboard "Attend an upcoming event near you." which appears to know I am in Portland
#
GWG
aaronpk: That's new.
#
aaronpk
also... wordcamp portland is on september 23rd!
#
[miklb]
sniffing location by IP I wonder
#
aaronpk
hey that wasn't too bad of an experience
#
aaronpk
20 minutes start to finish
#
aaronpk
installed wordpress, installed podcasting plugin, figured out how it decides how many episodes to include in the feed, wrote a plugin to modify its behavior
#
aaronpk
"The widget tries to automatically detect a user’s location, but they’ll also be able to enter any city they like."
#
prtksxna
"The default location is determined by IP address, timezone, and locale, which isn’t always accurate, but is the best we can do for now. "
#
aaronpk
Welp, didn't work on the real site
#
aaronpk
i may have to troubleshoot tomorrow
#
aaronpk
im kinda stumped
#
aaronpk
the plugin has a hook for defining the number of episodes in the feed, and uses the rss setting if the hook isn't there
[miklb] joined the channel
#
[miklb]
that encapsulates my last 12 years with WordPress
#
aaronpk
so on the next line I just set the variable to override whatever it pulled from the rss setting
#
aaronpk
and now it only respects the rss setting
#
aaronpk
so i don't know where it gets that
#
Ruxton
what podcast plugin are you using?
tantek joined the channel
#
aaronpk
Seriously simple podcasting
#
Loqi
[Aaron Parecki] Seriously Simple Podcasting: Including all Episodes in the Podcast RSS Feed
#
aaronpk
this worked in a new install of wordpress
[kevinmarks], davidmead, [aaronpk], [miklb] and [chrisaldrich] joined the channel
#
[chrisaldrich]
aaronpk++ for not only writing that whole process up, but going as far as creating a plugin for it
#
Loqi
aaronpk has 3 karma in this channel (1386 overall)
#
[aaronpk]
Too bad it doesn't work in the real site ?
#
[chrisaldrich]
I'm sure that most know it already, but one could also take the couple lines of code (with a line of comment) and dump it into their functions.php file
#
[aaronpk]
I couldn't find a functions.php file!
#
[chrisaldrich]
Wait, it doesn't work on your site, or you were wishing it worked in the original plugin.
#
[chrisaldrich]
aaronpk, typically one should be running a child theme (so their customizations aren't overwritten with theme updates), and the child theme should have a functions.php file.
#
[aaronpk]
Oh in the theme, interesting
#
[aaronpk]
So this worked fine in my test install of wordpress
#
[aaronpk]
But on the real site, ohmydollar.com it didn't have an effect
#
[chrisaldrich]
maybe it's not giving the right priority to the code snippet with the variety of other plugins on the actual site?
#
[chrisaldrich]
while I've got you, and since she may not pop up here, could you help anomalily turn off one of her checkin apps? It looks like her site is using ownyourswarm AND ownyourcheckins (maybe?) so she's duplicating every checkin.
#
[aaronpk]
Now that you mention it, I wonder if actually the problem is that there's some other plugin generating the podcast feed rather than the one I thought, which is why it's not respecting that setting
#
[aaronpk]
Oh yeah haha she's using IFTTT and OwnYourSwarm
tantek joined the channel
#
Loqi
nice
#
[chrisaldrich]
that could be a possibility... I hadn't heard of that podcast app before.
#
[chrisaldrich]
Turning off IFTTT is at least easier than needing to ping Felix about OYC ?
#
aaronpk
i can't remember why she hasn't turned off one of them yet... i think something to do with maps
tantek joined the channel
#
aaronpk
lol figured it out
#
aaronpk
turns out..
#
aaronpk
i was looking at the wrong feed
#
tantek
let me guess, they were all rel=alternate linked from your home page?
#
tantek
that's. not a good way to distinguish URLs
#
aaronpk
the first is the RSS feed for the "podcast" category. the second is the feed generated by the podcast plugin
#
aaronpk
so my plugin did in fact change the max items for the second one, and correctly did not change it for the fiirst one
#
aaronpk
i was just looking at the wrong thing last night and wondering why it wasn't working
#
tantek
that's totally a harsh latenight bug
[chrisaldrich] joined the channel
#
[chrisaldrich]
that could be a possibility... I hadn't heard of that podcast app before.
#
aaronpk
slacklag lol
[kevinmarks], [jeremycherfas], [grantcodes], [miklb], tbbrown, tantek, [chrisaldrich], [cleverdevil] and davidmead joined the channel