• Portfolio
  • About
  • Contact
12 Aug 2015
Comments: 0

Storing WordPress Posts As Variables

Screenshot of an index page for filmmaker Jonas Mekas

The other day I ran into a situation where I needed to insert the results of a custom WordPress Loop within the results of another Loop.

Over on the Underground Film Journal, I create special Tag indexes for filmmakers that include their biography, filmography and list of WordPress articles I’ve written about them. While the list of articles is generated by the general WordPress Loop, the biography and filmography are generated by a special Loop of a Custom Post Type I’ve called “Filmmakers.”

What I wanted to do though was include a 2nd special Loop of just WordPress posts of videos by each filmmaker that I’ve featured on the site. However, due to the layout of the page, I needed to squeeze this 2nd Loop BETWEEN the biography and the filmography.

Read more!


07 Aug 2015
Comments: 0

Multiple Loops On WordPress Search Results Templates

Screenshot of a WordPress Search Results page

Recently, I was trying to create Multiple Loops on a WordPress search.php template and couldn’t find any good tutorials on how to do that. But after a lot of digging around, cobbling together bits of code I found and some experimentation, I finally figured out how to accomplish this task.

Then, I started writing a long tutorial for others to do the same thing, but it got way too unwieldy. So, instead I’m posting up the final code I came up with and will make some comments below on how to customize it for different purposes.

But, before I post this code, I want to emphasize that I’m not an expert at either straight up PHP or WordPress’s PHP functions. This code I came up with might be clunkier than others might like, but it works just fine on my other website, the Underground Film Journal, so I’m happy with it.

Here’s the code:

Read more!


02 Aug 2015
Comments: 0

Showing Off With jQuery

Screengrab of the Theaters and Screening Series page on the Underground Film Journal

I’m happy today that I taught myself how to write and properly execute my first actual block of jQuery code. It’s a simple Show/Hide toggle text function, but took some doing to get it to act properly on the Theaters and Screening Series page of the Underground Film Journal.

As I mentioned before, I’m tackling jQuery with the book WordPress 3.0 jQuery by Tessa Blakely Silver and, happily, the first block of code she encourages readers to write is the .slideToggle function. I say “happily” because that’s the first thing I wanted to learn how to execute on the Journal!

Read more!


31 Jul 2015
Comments: 0

WordPress Helper Monkey: The Beat

Screengrab of the Homepage for The Beat

For years, The Beat has been my favorite pop culture “news and reviews” website. The site has a strong comic book focus, but has long since gone on to cover what is described today as “geek culture.” Me, I’ve been a geek since the day I was born, so The Beat is website nirvana to me.

The Beat is — and always has been — run by Heidi MacDonald. She has been, to put it mildly, a tremendous inspiration to me, especially in the way I run my own media site, the Underground Film Journal. While Heidi’s writing style in general is wickedly entertaining, I most enjoy when she tackles thorny issues, such as trying to make a living as an independent artist or a web professional. Her thoughts are always inspirational and thought-provoking to me.

Read more!


17 Jul 2015
Comments: 0

WordPress And jQuery: My Personal Intro

Video embedded into a webpage

I love taking that first, successful step!

For awhile now, I’ve been itching to incorporate more dynamic jQuery elements into my film website, the Underground Film Journal. I’m always desperately wanting to make the site more modern and interactive, to provide a better user experience for my visitors. And, right now, I think the best way to accomplish that is through jQuery.

Read more!


07 Feb 2014
Comments: 0

WordPress: Create Your Own Custom Image Gallery Display

Sample of what a proper WordPress image gallery page display looks like

WordPress has a pretty robust and customizable built-in image gallery system. However, when it comes to displaying each image properly on its own dedicated WordPress page, there doesn’t seem to be many comprehensive resources online to figuring out how to make that happen.

I’m hoping to shed a little bit of light on how to do just that with this article.

I was able to figure out a good image display system for my other website, the Underground Film Journal, after piecing together snippets of code from the WordPress codex and WordPress support forums.

For a WordPress image gallery, it’s a really good idea to publicly display each image on it’s own WordPress page. Why? The main reason is that this is a great way to churn out extra pageviews if visitors click on an image.

Plus, a fully developed WordPress image page display can show enough information that it can become as an invaluable resource to your site’s visitors as much as a regular article post is.

Read more!


Recent Posts
  • Watched: The Texas Chainsaw Massacre 2
  • Watched: Mystery of the Wax Museum
  • Read: Finder – Third World
  • Read: Superb #1
Categories
  • Comic Books
  • Movies
  • Personal
  • Television
  • Web Work
© 2020 Business Theme. All Rights Reserved.