Weekly Web Harvest for 2019-03-03

Scammed at 40,000 Feet: Opaque Market Costs the Jet-Setting Rich – Bloomberg ” . . . according to My Sky, a company whose software helps scrutinize and manage private-jet costs” mattomildenberger on Twitter: “Something I’ve been meaning to say about The Tragedy of the Commons. Bear with me for a small thread on why our embrace of Hardin is a stain on environmentalism. tldr: we’ve let a flawed metaphor by a racist ecologist defiSomething I’ve been meaning to say about The Tragedy of the Commons. Bear with me for a small thread on why our embrace of Hardin is a stain on environmentalism. tldr: we’ve let a flawed metaphor by a racist ecologist define environmental thinking for a half century. How many high school stars make it in the NBA?Remember NBA great Donnell Harvey? Neither do we. Despite being the #1 high school recruit in 2000—something that you think would indicate future NBA stardom—he put together a meager career in the league, averaging around 5 points per game over 5 years. On the flip side is LeBron James—the #1 high school recruit just a few years later—and we all know what he’s been up to. This disparity got us thinking, are these top 100 recruit lists any indication of making it to the NBA, let alone becoming a star? Porfirypretty […] […]

Read More…

Auto Featured Image for Gravity Forms Posts by Response

This scenario is fairly specific, Gravity Forms to post and adding a specific featured image based on a form field but the ease of assigning a featured image via the media post ID is hand elsewhere and it’s always nice to document more ways to tweak Gravity Forms. Step One Upload your images to the WP Media Library. After uploading the images you want to use, go to the Media Library and change the view to list view. If you mouse over the edit button, you’ll see a URL appear in the bottom right of your browser window. Setup Your Form Take note of the entry ID of the form element that’s going to determine the featured image. It’s likely the same number you’d get if you counted the fields from top to bottom but if you made them and rearranged them it could be something else. If you mouse over the field in the form editor, you’ll see the form ID in blue. The Code Now we’re just writing a bit of PHP to tie into the form. In this case I’m tying it just to form 5 with this action add_action( ‘gform_after_submission_5’, ‘altlab_timeline_featured_image’, 10, 2 );. Leaving off the _5 would apply it to all forms and changing the 5 to another number would target another form. In […] […]

Read More…

Privacy Statement