Edu-pumkin II – The Bava
I had to make a hole in the back of Jim’s head to let some of the hot air out. Still needs some work though as the candle keeps going out.
1 You should see what Santa looks like in our house.
I’ve been having quite a few conversations around student portfolios eportfolios online representations of their learning over time. These conversations have mostly centered on using WordPress and, almost inevitably, the first instinct is to create a series of pages that are aligned to either courses or assignments. Those pages usually contain a number of different pieces of content. That structure makes the most sense to people who are used to building websites in the Dreamweaver/static paradigm. I don’t think this is the right path in most cases. It’s easy in the short term but starts to limit you (absent lots of work) in the long run. Strange that I don't really know what a web page is anymore. Individual tweet? Blog post? Flickr image? #vcuols — Tom Woodward (@twoodwar) May 14, 2014 At the heart of this is the issue that “page” is hard to define. In the broadest sense anything I can address with a URL is a webpage. That’s a big bucket. WordPress makes things more complex by including a way to create pieces of content called “pages.” Pages are usually contrasted to posts. I usually describedPast tense the page/post difference was that posts were pieces of content that flowed with the timeline (more ephemeral but archived) and pages were pieces of content you wanted to be more […]
This may be one of those things that everyone knows but it was new to me. I’m also duplicating the information I found in the StackOverflow post because I think it’s good to have information in multiple places where it might be found by other people. Additionally, writing the post makes it easy for me to find later when I forget and the act of writing the post helps get it stuck in my own head. With all of that as the lead up . . . A common way to trigger events in WordPress is the save_post action. It runs any time the post is created, published, or updated. What I found out though was that it also runs when you try to delete the post. That makes sense. It is an update and it’s no big deal if the function is relatively small and/or if you’re not trying to get rid of a ton of posts. My current experiment had both a fairly involved function and a couple hundred posts I wanted deleted. Luckily, I found this post on StackOverflow. Now I can set a simple check at the beginning of the function that looks to make sure it’s the right post type (site) and it’s a trashed post. In either of those cases the function gets skipped.
Pre-Intervention Post-Intervention I’ve often had requests to make the admin dashboard in WordPress simpler for students (although it’s just as likely applicable to faculty or humans in general). The example in the Juxtapose box above (slide it!)I’ve been having some issues with Knightlab stuff loading recently. Maybe they’re too popular or VCU is flagging them on the network in some way. They run fine when I install the libraries locally. The result above is an example based on one such request. The goal was to take the initial dashboard and reduce it down to the absolute minimum of items needed for students and to move them directly into the place they were likely to spend most of their time working (not the dashboard). The code below is all stuff that ends up living the functions file of the custom theme or could be incorporated into a plugin.There are plugins that do aspects of this but I wanted to keep this fairly lean and didn’t want the overhead of multiple plugins to achieve this particular result. This following code from here makes sure that the only posts an author sees are the ones they wrote. I’m not sure why that’s not the default but . . . The following removes menu items from the sidebar. It’s a combination of things I […]