I finished watching the final episode of Stranger Things tonight. I had watched through the first four seasons over the years. Sometime before season five was released, I decided to watch through the first four again. Thinking they might like it, I invited my mom and dad to watch through with me. My mom wasn't interested, but my dad was, so we watched a few episodes a week, however long that took, from the beginning through the end of the new season. It was a long journey, but it was good.
Continue reading post "Stranger Things"show posts
I watched the Columbo episode "The Bye-Bye Sky High IQ Murder Case" for the second time, and have come to believe that Columbo knew about the umbrella in the chimney and had seen it before it was removed by Brandt. Continue reading post "#3378"
The ending of Mr. Robot episode 4-12 was kind of hard to take. Continue reading post "#2866"
I watched the first episode of Tales from the Loop. Continue reading post "#2833"
I went to see the recording of Wait Wait… Don't Tell Me at Blossom last Thursday. Continue reading post "#2446"
My friend Dwight visited from Texas this weekend. Continue reading post "#2420"
I saw Doctor Who for the first time this weekend. Continue reading post "#2201"
Spent 30-40 minutes this morning shoveling the street, clearing a path in the cul-de-sac for my car to get through to the point in the street with low enough snow for my car to get through. Continue reading post "#2199"
I watched the second episode of Electric Dreams, "Autofac". Right after, I decided to read the book version. Continue reading post "#1759"
Recently discovered the show Electric Dreams, watched the first episode ("Real Life" in Amazon's list). It's a collection of Phillip K Dick short stories done one per episode. Continue reading post "#1757"
Flight of the Conchords show
Saw Flight of the Conchords do a live show at Playhouse Square to(last)night. …
Continue reading post "Flight of the Conchords show"Wordpress: Shortcodes
I've been playing with shortcodes in Wordpress. They provide a nice way to allow the client to insert certain content without them needing to even deal with HTML, such as predefined pieces or wrappers with specific classes or structure. They are the only way to effectively run PHP functions from within a page without actually allowing PHP code to be run. This can allow pulling things from data, such as custom fields or from Pods CMS. The built in [gallery] shortcode, for instance, pulls image data from the database about images connected to a post.
It's very easy to add a shortcode. You create a function that does what you want and returns a string to output in place of the shortcode then use the add_shortcode() function of Wordpress to attach it as a shortcode. The function is done like:
function repFunctionName($repArguments, $repContent=null){
return "some string";
}
$repArgument is an array of arguments passed to the shortcode like:
[repShortcode repArgument1="value1" repArgument2="value2"]
Continue reading post "Wordpress: Shortcodes"