I helped out with a beginners’ WordPress development workshop with Jenny Wong for TECH(K)NOW Ada Lovelace Day. We had two hours and she talked about WordPress then I did a workshop bit.
I gave a talk at WordPress London in May about dealing with people who use your website, tech support and community management.
Can I embed my slides? No I cannot. You can find my slides here. There’s a video of the talk on the WordPress London Facebook page, but you’ll need to request to be a member. I’ll link to it here if it’s uploaded somewhere else.
I wanted to be able to add meta data to individual blocks, so needed a way of telling the blocks apart. What I’ve ended up doing is straightforward: each block gets a
data-id attribute which contains the block’s uuid at time of creation.
Ok, this is without really looking at it so maybe it has these.
- identifiable non-global blocks (so not these: https://github.com/WordPress/gutenberg/issues/2081) because I want to maybe use postmeta with a block? I don’t know, I have this vague idea that I’m too lazy to articulate atm. ok this wasn’t bad, I’ve done this.
- the ability to limit blocks shown
- the ability to make templates which need to be filled in so the author has to stick to the blocks in the editor and can’t add or remove or whatever
These are mine. You might have different ones. ☺️
edit (same day, a few hours later): Look at this for numbers 2 and 3 in the list! Whooo!
This is my first attempt at a Gutenberg block. I’m building this looking at / copying nylen’s Gutenberg examples plugin. Mine is named “Gutenbergerli” because this will be wonderful for a few hours then it’ll go stale, just like Luxemburgerli which are some of the best things ever for a time, at least.
One of the #enumerateallthethings projects in Go. PostScrape lets you scrape targeted html nodes in enumerateable http POST requests. It uses goquery for the targeting. Currently it’s command line only. Works but not finished at all, needs tests and other things. (Part of a larger project where I just needed the data.)
Gravatar hashes are somewhat easy to crack. Websites are super easy to scrape. Sites with Gravatar urls in the img-src or profile link make it trivial to generate lists of hashes to crack. Other data available on sites and in Gravatar profiles can be used to generate targeted wordlists which make cracking a large proportion of the hashes much quicker, in seconds rather than days.
When my Windstream modem was repeatedly power cycling when trying to connect, tech support said this was the modem letting me know it was damaged and needed to be replaced. They offered to rent me a modem for $10/month but oh my god no, why would I do that? This one lasted me over 10 years.
This Glitch project grabs the latest three posts for WordPress sites which are using either the WP REST API or the WP.com version via Jetpack. It uses MongoDB for persistence. It’s not super exciting or well written but a fairly effective way to mindlessly try sites on Slack and see if they have the WP API somewhere when you’re a bit bored. (Try Glitch. It’s fun.)
Playing with Fabric.js was fun although one bit I had trouble with was calculating the object.clipTo rectangle path.
I’m making a post of this because TWICE I’ve spent a couple of hours wondering if Google DFP is just taking a long time to update.
ADD THE AD UNIT TO THE TARGETING IN CREATIVES -> NATIVE STYLES -> STYLE. Otherwise it will never show up.
Do you consider your email address to be private information but use it to register and comment on WordPress powered sites? Many WordPress sites use Gravatar to provide the avatars on comments and user lists and this can be an issue if you do.
Privacy concerns regarding Gravatar are not new. But what exactly are they and how can you avoid your data leaking? And what is Gravatar?
What do contact forms leave in a site’s database when they’re deleted? How easy is it to manage the data they store? What personal data do they grab?
I had a rather interesting problem the other day. My ajax request was not working if I didn’t use the wp_ajax_nopriv_ action on a page where the user was clearly logged in. Why? Why was this happening?
Need the place id or anything from the Places Search results for whatever you’re doing with the Google Maps API?
If WordPress has a newly created pending post, when you publish it the timestamp on the post is set at the time of publishing. If you publish a post, then set the post status to pending, the timestamp does not update when you re-publish it. How does it know? And why does it matter?