WordCamp ED in DC!
WordCamp Ed is a WordCamp focused entirely on educational uses of WordPress — in schools and universities. The inaugural WordCamp Ed will be held at George Mason University on Saturday, November 22nd featuring a morning of pre-planned speakers, and a barcamp-style afternoon breaking into smaller discussions and sessions.
I’ll be there and I’m hoping to see some of you.
There are many waysLook! My title has a number in it! SEO GOLD!!! to get content into WordPress other than writing in the normal WP post editor. I figured I’d sketch out at least four and why you might choose one over another. Press This I don’t believe many people notice or use the “Press This” bookmarklet that is located under Settings>Writing or under Tools. There’s a 3 minute video below detailing where to find it and how it works below. Think of it like the bookmarklet you might use with Delicious or Diigo only with more flexibility behind it. The ability to nearly seamlessly add media from the reference page (seen at about 1:27 in the video) is the main thing I find that makes this tool particularly useful. I’m using it instead of Diigo for the Word Games site because I want to embed a mixture of media and all of it will be from external pages. Think of it as having the capabilities of Pinterest but with the additional ability to embed video and text. Via Email This used to be a hassle but Automatic’s Jetpack plugin makes it very simple. You will need a WordPress.com account but it’s free and you’ve already given away all your information to Google or Apple anyway. You can see a […]
Image from page 981 of “A system of instruction in X-ray methods and medical uses of light, hot-air, vibration and high-frequency currents : a pictorial system of teaching by clinical instruction plates with explanatory text : a series of photographic cli flickr photo by Internet Archive Book Images shared with no copyright restriction (Flickr Commons) This is a bit odd but if you work in education it’s quite possible it’ll come up . . . Sometimes people just want the blog comments in a nice friendly CSV file. That might be for grading, it might be for further analysis in Voyant or something like that. What I need to do is write a little plugin for the export like Alan did for posts but until I get around to that I took advantage of another plugin Alan wrote to expand comments to the 100 most recent comments. So since I have lots of comments available in the feed, I can just use the =IMPORTXML function to port right into Google Sheets. There’s probably a smart way to parse out multiple XML fields at a time but this seems to work ok. All the functions I used are broken down in the sheet embedded below. Most are simply some version of IMPORTXML(b1,”//title”). B1 is the URL for the feed and the […]
I found myself in a strange situation where I needed to know if a page had a child. Natively the WP API lets you know if a page has a parent but not the reverse. First I had to write a function that writes some data to a custom field if a page has a child. Then I started writing this post and realized I needed to do the reverse and now I’ve written a function that writes data to a parent when the child is created. Now that I had the data being written to the custom field, I needed to make that data visible in the WP REST API. Luckily, Jeff put up a snippet for that not too long ago. Now I also wanted to be able to return data based on the contents of the has_children field. This filterI usually call things ‘chunks’ of code but I’m trying to improve my vocab. does that. Now a URL like the one below will give me pages with children but without parents. /wp-json/wp/v2/pages?_embed&per_page=30&has_children=1&parent=0 This will help me make a fairly large menu structure more manageable and I figured having something like this all in one place might help someone else.