Weekly Web Harvest for 2019-03-24

Please TRU Write With Me, I’m All Shiny And New – CogDogBlogUntil now, the editor did not automatically embed media from sites like YouTube, vimeo, twitter, SoundCloud from a plain URL — the user had to trust it would happen. MathigonAn interactive math resource worth looking at. h/t Clint Lalonde Choose Simple Solutions Over Flexible Ones | Thinking SidewaysWhat my colleague failed to realize is that flexibility does not come for free: You pay for it with increased code complexity (and with pointless switch-statements). PerkeepPerkeep (née Camlistore) is a set of open source formats, protocols, and software for modeling, storing, searching, sharing and synchronizing data in the post-PC era. Data may be files or objects, tweets or 5TB videos, and you can access it via a phone, browser or FUSE filesystem. mholt/timeliner: All your digital life on a single timeline, stored locallyTimeliner is a personal data aggregation utility. It collects all your digital things from pretty much anywhere and stores them on your own computer, indexes them, and projects them onto a single, unified timeline. School Stumbles Upon Chalkboards From 1917 During Renovation, Perfectly Preserved Lessons Provide Rare Look Into Past. | The Literacy Site BlogPrincipal Sherry Kishore says she loves the discovery, and she’s been amazed to see how the school taught basically the same lessons back then as […] […]

Read More…

Gravity Forms to ACF Pattern

When you use Gravity Forms to make a post, you can provision ACF fields but what I found was that the data wasn’t showing up correctly until I manually went and updated the created post. I tried using the WordPress wp_update_post() function but found that didn’t do it. I ended up taking a look at the post_meta in the database directly.1 That’s something that I find myself doing more and more. When you can look directly at evidence, do that. Don’t assume. So what I saw was this . . . You can see that the base custom fields are there. The data is visible. Now I hit update and refreshed the database view and saw lots of new custom fields get generated. This data associates the human readable fields with the field keys that ACF creates. Note the underscores which prevent those fields from showing up in the backend of WP even if you have view custom fields selected. I feel like this has something to do with acf/save_post but couldn’t figure out how to make that work. When my knowledge fails,2 I resort to force. First, I turned on the ability to see the field keys in ACF. It’s easy to miss and easy to forget that this is a Screen Option in WP. Once I could see […] […]

Read More…

Clean Up the Playground WordPress Plugin

I looked around for a WordPress plugin that would delete content every X hours and didn’t find anything. It may be this is a strange desire or I could be bad at searching but in any case I built something to do that. The idea I had was that people in a multisite environment could try out sites and get a good feel for how the plugin/theme would work but without the barrier of adding it to their site or creating an entirely new site. The plugin also creates a page that has the shortcode on it which will trigger the cleansing manually. Assumptions1 I assume we’re going to delete all the content that wasn’t created by the admin. That lets us leave some directions and some demo content if needed that will persist after the site is purged of content. I figured we’d auto-add people using the Join My Multisite plugin and setting the user to editor or lower. It might make more sense to create a custom role and/or restrict the ability to maliciously or accidentally change the author of content. I used wp_schedule_event and set the refresh at every 24hrs. I am only deleting pages, posts, and media. I haven’t gotten around to finding/deleting custom post types. 1 Acknowledged laziness. […]

Read More…

Springtime Answers!

A question or even several of them, surreptitiously, slyly sent my way via a blog post. Even cleverly using my own photo as a featured image. “Well played, my friend.” was my comment in response. Alas, the algorithm remains #NotMyFriend. Some answers… Yes, the frequency needs an increase from very infrequent, to something more quasi-frequent. […] […]

Read More…

Springtime Answers!

A question or even several of them, surreptitiously, slyly sent my way via a blog post. Even cleverly using my own photo as a featured image. “Well played, my friend.” was my comment in response. Alas, the algorithm remains #NotMyFriend. Some answers… Yes, the frequency needs an increase from very infrequent, to something more quasi-frequent. […] […]

Read More…

Privacy Statement