Password Protect Posts Created via Gravity Forms
A quick little plugin that sets the password for posts created via Gravity Forms. This came about as the result of a faculty request today. In this case it’ll grab the first form field and use that for the password. You could hardcode it into the plugin itself but I thought this gave a bit more flexibility. With this option you can make that field something that the user could set or you can make it hidden and set it consistently for all submissions.
Simple but maybe handy for someone else.
Image from page 96 of “St. Nicholas [serial]” (1873) flickr photo by Internet Archive Book Images shared with no copyright restriction (Flickr Commons) I’ve talked to a number of people a number of times about seeing faculty using Feed WordPress to syndicate content to a motherblog when they’d really be better served by using a feed reader like Feedly.Obligatory RIP Google Reader (and Fever for that matter). Feed WordPress is great and very useful but if you don’t want to archive the content or take advantage of some of the more advanced options (auto-categorizing, auto-tagging, doing stuff with author pages etc.) then it usually is a bit more hassle than it’s worth. I thought it’d be pretty easy to build a little custom page to display a series feeds from sites in one place. It took me a bit to get it straight but it wasn’t too bad. This example loads 10 sites fairly quickly. I’m currently just showing the source site’s URL and the 5 most recent posts with titles and dates. It’d be easy enough to add other stuff – excerpt, full post content, featured image etc. It’d also be pretty easy to pass the URLs to the page from a Google Spreadsheet which I’ll probably do in the near future. See the Pen wp json api multi […]
Because I’ve been messing with The Events Calendar for the RVArts project, along came another conversation where that plugin seemed like a good answer. It answered all their needs except for one – the wanted to have the month view of events be the homepage for the site. I knew that didn’t happen natively but I figured I could do it. The first step is to create a custom page template. There are a number of tutorials on how to do that. I usually just duplicate the page template for the theme I’m using as a parent and go from there. The one I’m using is below. The Events Calendar has this nice function (tribe_show_month) which’ll pull the month’s data by default. That’ll get you something that looks like below (depending on your theme). It’s the right content but it’s not applying the same CSS/JS that’s on the regular month view. You could go in and rewrite CSS and JS etc. but that would suck for this particular project. It turns out you have to enqueue the right stuff and this post was so very helpful in telling what to enqueue. I updated it to the newer functions and presto everything worked just like the normal month events view. It goes into my child theme’s functions.php. This particular version only […]
The Field Botany class is underway and the vegetation is rolling in despite floods and hail. There are 20 student participating on 20 different blogs. Right now we have almost 700 posts in the mother blog. Amazing to see all this great work and to be able to keep it instead of having it stuck in paper notebooks which only a few people ever saw and no one in the public could use. This early days for the site but in the end the intrepid biology duo of Jill Reid and Dianne Jennings will worked with their students to create a site that local residents can use to identify plants in our James River Park System. The nice thing about this setup is it can be used as is or modified to support a variety of other scenarios pretty readily. It has already inspired a sister project that will be documenting mortality and local cemeteries with Susan Bodnar-Deren (who just finished the first round of theOnline Course Development Initiative). Plugins Used On The Mother Blog/Set Up NS Cloner – Site Copier – This was handy for setup. In this case we wanted student sites to have the categories, pages, themes, and plugins already activated. This plugin let me do that easily from a blank template site. The free version doesn’t […]