#wordpress 2018-12-08
2018-12-08 UTC
Ruxton_ and jgmac1106 joined the channel
# cjwillcock GWG: I noticed the post kinds widget in my sidebar isn't wrapped in a <section> like the other widgets there (indieweb-2016).
# cjwillcock i didn't do code review, was thinking you may have left out the before_widget and after_widget stuff?
# cjwillcock because that section wrap should come from the sidebar
# cjwillcock I better just go look now :)
# cjwillcock found some more funny business there in my sidebar. the #hcard_widget is wrapping the whole sidebar? that doesn't seem intentional. I'm going to run this down to the source
# cjwillcock yup
# cjwillcock GWG: issue at GH or here in chat?
# cjwillcock I'm super happy someone is making me stuff ;)
# cjwillcock i only did 1/2 --- this one is in indieweb plugin
# cjwillcock in includes/class-hcard-user.php
# cjwillcock line 555
# cjwillcock should be another </div> in there
# cjwillcock the one we see is closing the hcard-body
# cjwillcock this was the second thing I mentioned, my whole sidebar is wrapped up in my #hcard_widget -- simple little fix, if this is the culprit
# cjwillcock good call, that section has opportunity written all over it ;)
# cjwillcock template is a great way to go
# cjwillcock hcard comes up a lot in the early 'intro to indieweb' materials
# cjwillcock so nice to isolate the whole thing in a single template, for review and consideration
# cjwillcock recently, started using this $template = 'block of html with printf refs, e.g. %1$s', fed through a printf -- I saw that in WP core
# cjwillcock if you are going to a template, I think you are going well.
# cjwillcock in there now
# cjwillcock oh yea! my old friend. I use that outside of WP all the time
# cjwillcock so nice and easy
# cjwillcock when I code in WP, I switch styles (syntax conventions)
# cjwillcock among much more
# cjwillcock mental block maybe? lol no idea
[jgmac1106] joined the channel
# cjwillcock template <- html with some php in it
# cjwillcock cf. php with some html in it
# cjwillcock i agree that use of templates puts confidence in the hands of the person comfy with HTML, but not well-versed and comfortable in writing functions &c.
# cjwillcock (who am I agreeing with --- I suppose it's more accurate to s/agree/hypothesize/)
# cjwillcock basic if / else -- if you are in a template and don't know those, now is a good time to learn. right? :D
# cjwillcock back on the kind menu widget, in includes/class-kind-menu-widget.php, you've got the before_widget bit there on line 44 -- not sure why the esc_html though. If you check the theme (indieweb-2016) /functions.php line 152, we are passing HTML
# cjwillcock the esc_html is discarding the <section>
# cjwillcock another nice easy one for you GWG!
jgmac1106 joined the channel
# cjwillcock sometimes you just need to use wp_kses or turn on the ignore
# cjwillcock wp_kses is awkward with all those nested arrays, but a very powerful thing to have in the toolbox
# cjwillcock excellent
# cjwillcock lol
# cjwillcock i think it doesn't matter how many years you are at this, if you forget to type the echo, you just can't see it until you look for a very, long, time.
# cjwillcock GWG++
# cjwillcock but ... we don't want to esc_html there do we?
[jgmac1106], [kevinmarks], jgmac1106, jeremych_, [tantek], indiewindy and gRegorLove joined the channel
# [jgmac1106] obver from /indieweb I can't get my social shares into p-content...I can add the shortcode to my subscribe plugin which would then add it
# [jgmac1106] gonna see what turing on jetpack and those social menus do
[eddie] and [kevinmarks] joined the channel
# [jgmac1106] so I will update to 5.0 today and start publishing all the things and see where we break
# [jgmac1106] just made yout his as nobody knew how to add rel="feed" into their menu: https://archive.org/details/AddCustomPropertiesToMenuLinksInWordPressIndieWeb
# [jgmac1106] I really need to go through and re record all of my SemPress and IndieWeb-2016 YoutTube videos with all the updates
# [jgmac1106] yeah but I did them bite sized...so syndication links needs to be redone, h-card widget needs to be redone
# [jgmac1106] bridgy publish needs a note saying no longer supported as plugin but I am keeping it up
# [jgmac1106] .....and we just want you to think.....mmmmm long steady release cycles are so relaxing........
[pfefferle] joined the channel
# [jgmac1106] but you kickes ass on the recent updates
# [jgmac1106] loving the h-card widget changes, the menus
# [jgmac1106] no matter what I do I can't get the social share buttons into content. I have not tried the sharing is caring plugin that is popular to people
# [jgmac1106] and getting the post page correct with an h-feed will benefit everyone...most folks use static homepage setting
# [jgmac1106] people use avatars to represent themselves. nor do you need much content....I can help you write copy if you want...it is hard to find words about ourselves
# [jgmac1106] David Shanske, a cornerstone of the WordPress IndieWeb Community. builds sites and tools so others can take control of the web through the power of WordPress. An avid developer, David maintains the following plugins....x, y, z.... In his free time David travels . He is also an avid fan of the history of technology and transportation. ...etc etc
# [jgmac1106] use first person....best advice grab a piece paper...just sketch it out...landing page diesn't have ti be abotu you...if you are uncomfortable make it a few images a couple words..
# [jgmac1106] !tell chisaldrich I though you redid the Getting Started On WordPress page and combined what I started where is that? I want to add note about JetPack
# [jgmac1106] Homepage and bio not necessarily the same either ..happy to help you think...but trust...think on paper first
[chrisaldrich] joined the channel
# [chrisaldrich] [jgmac1106] It's still in draft form at https://indieweb.org/User:Boffosocko.com/WP_Draft
# [chrisaldrich] You can add it there or on the current page. I'll do a page diff to pick up all the subsequent changes between the original and the new draft, so it shouldn't matter much.
# [jgmac1106] ...let's pull trigger and make yoru page the current page for getting started with WordPress
# [jgmac1106] we are making crucial wiki error doing soo much development in too many places
# [chrisaldrich] I was hoping to finish off bulk portions of that page and push it soon.
# [jgmac1106] i would reduce the welcome copy by like 90% but I hate words in wikis'
# [chrisaldrich] I think there were a few reasons I didn't do it when I worked on it last. I'll try to circle back on it this weekend.
# [jgmac1106] i see you copied a lot of my page in there as well, so we are getting there
# [jgmac1106] I can't even find the page I started
# [chrisaldrich] you had it under your user name too I think... try typing it into your browser and let auto finish find it maybe?
# [chrisaldrich] (that's how I found mine... 😉 )
# [chrisaldrich] I wasn't done cleaning up the bottom section of my page and putting things in their proper place....
# [jgmac1106] we can also just make finishing it a topic of the next vHWC-Americas...make next one about work
# [jgmac1106] yeah...want to describe the two main themes on that page
# [chrisaldrich] I was still taking pieces of your page and fleshing out/putting them in proper places, and there was a section with pieces that needed to be moved to other pages.
# [jgmac1106] We can drop Indpendent Publisher until we fix it but that is after Yarns
# [chrisaldrich] While Independent Publisher has a few issues, I think that so many like it/use it enough that the small problems aren't showstoppers for anyone... unless there's something I'm unaware of.
# sknebel it seems like themes can override where the jetpack buttons go? https://jetpack.com/support/sharing/#move-buttons
# [jgmac1106] !tell pfefferle, gwg look what sknebel noted may want to do for themes and jetpack share buttons it seems like themes can override where the jetpack buttons go? https://jetpack.com/support/sharing/#move-buttons
# [jgmac1106] haven't checked SemPress that is next but they go in e-content in 2016-IndieWeb
# [chrisaldrich] This was also related to that ages ago and may have some useful notes: https://github.com/Automattic/jetpack/issues/4399
[tonz] joined the channel
# [tonz] (I’ve disabled JetPack a while ago. As my hoster blocks xmlrpc most of Jetpack was useless to me, and it kept interfering with other stuff.) For sharing buttons I have used Sharriff plugin, which are GDPR compliant. No longer using sharing buttons anymore though (Sharriff puts them inside an entry, and they kept popping up in how webmmentions were shown on other sites.
# Loqi GWG: [jgmac1106] left you a message 11 minutes ago: look what sknebel noted may want to do for themes and jetpack share buttons it seems like themes can override where the jetpack buttons go? https://jetpack.com/support/sharing/#move-buttons
# [jgmac1106] I don;t see the share buttons on sempress even when enables
# [jgmac1106] scratch that SemPress does add it. I forgot a setting
doubleloop joined the channel
# doubleloop I had a possibly related problem with replies and SemPress recently, with too much being wrapped in e-content property and then showing up in my webmentions to people.. https://github.com/ngm/doubleloop.net/issues/4
# cjwillcock GWG: I posted a 'read' post kind today, and was thorough about completing my respone properties. Multiple authors with urls & photos, etc.
# cjwillcock GWG++
# cjwillcock so, I found that after entering all the data, some of those things I entered aren't displayed in my theme (2016-indieweb) -- was wondering if they are included somewhere else by post-kinds, or if they are available, but unused in display at present
[jgmac1106] joined the channel
[asuh] joined the channel
# [asuh] I’m seeing an error in my log file regarding Syndication Links: `mod_fcgid: stderr: PHP Warning: in_array() expects parameter 2 to be array, string given in /[...]/wp-content/plugins/syndication-links/includes/class-syndication-provider.php on line 21`
# [asuh] That’s a good question. For internal links to posts, you’ve covered the main ones. Have you heard of Tiktok? https://www.tiktok.com/ That seems to be a new app getting traction but I don’t know if there are web links
[jgmac1106] joined the channel
# [jgmac1106] well somebpdy could build a WP to micro.blog micropub client
# [jgmac1106] Bridgy works best, hard to replace best
# [jgmac1106] [pfefferle] asuh adding new networks to Bridgy looks pretty straight foraward given documentation [snarfed] wrote
# [jgmac1106] oops autocorrect metion
# [jgmac1106] there are existing Discourse wordpress plugins...but webmentions back would be nice....though some privacy concerns there