Jetpack Tiled Gallery Example
Our emails were getting flagged as spam and deleted prior to delivery so we tried changing the wording around. It worked for about 30 minutes but you might want to change the wording etc. for a more helpful purpose.
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 […]
So lots of random work going on. We’re trying to knock out a variety of projects prior to some work on flexible course design with a bunch of people. I spent a lot of time in meetings. I spent a lot of time building content, some grant writing stuff, and rearranging various websites. Thee following things are a bit more interesting than that stuff. Qooler Qooler is a custom theme for a design competition for VCU Arts Qatar. Matt did the design work on this one and I’ve been building it out. It’s fun as we got to revisit the arrows that move with the cursor we messed around with a long time ago and it has lots of nice design references like the triangle’s association with the flag of Qatar, the sunglasses made of triangles mirroring the “deal with it sunglasses“, live weather data from Qatar etc. etc. Lots of details. This is a round one version and we’re waiting to hear back. Canvas LMS Banner Generator Initially we were asked to make some images with text to use in courses. I thought it’d be pretty easy to create an HTML builder that would be more flexible and accessible. I planned to be clever and do some stuff with radial backgrounds but Canvas did not like that as inline […]