Display Only Top-Level Parent Categories – WordPress

Old People, Probably Grandparents

If you are using a loop to list all your WordPress categories or terms in a custom taxonomy and you only want to display the top-level ones, here is how you do that. The trick is in getting the “parent” parameter, which is set to “0” for all top-level terms and categories. So to start a foreach loop and display … Read More

The Commons Hotel in Minneapolis – Website Review

The Commons Hotel Website

Today we are discussing The Commons Hotel in my home city of Minneapolis. Located just blocks from my Alma mater, the University of Minnesota Twin Cities, this shwanky hotel has been recently renovated to keep it hip and fresh. As far as I know, until recently this was actually a Holiday Inn hotel, or at least that’s what I remember … Read More

Dropdown List of Authors with Posts in Category – WordPress

While at first it may seem impossible, creating a dropdown list of all the authors with posts in a specific category is not actually all that difficult. This will work with custom taxonomies and custom post types as well, so it should suit the needs of just about anyone. Let’s get right to it! The Code:  

There are … Read More

Get ID of Current Category – WordPress

Getting the ID of the current category in WordPress is actually quite simple. This will work in category archive pages or anywhere a category has been queried. We are going to use get_queried_object() to accomplish this task. The following script will get all the information about our queried object and put it in an array, $category. Then we are simply … Read More

CSS3 Transition for Border Not Working

The US/Mexico Border

So you are trying to use some CSS3 markup to make a border appear in transition when you hover over your link or other element. But it just shows up instantly! This is something I have run into many times, and for some reason no one on the whole internet gives a clear explanation for it. Until today! Why isn’t … Read More

Display Future Posts Easily with query_posts – WordPress

It’s actually quite easy to include future posts in a WordPress loop using a simple query_posts with some arguments. Other information on the web makes it sound like it’s really tricky, but those people are either misinformed or lying. Let’s take a look! This tutorial assumes you are familiar with the use of query_posts to start a new query. If … Read More

Redirect With .htaccess and Godaddy Hosting Not Working – Solution

Goddady Server Redirect

For something that seems so simple, there’s a lot that can go wrong with setting up either a temporary (302) redirect or permanent (301) redirect. With Godaddy hosting specifically, you may run into an issue that you did not foresee. You may even have no trouble redirecting the ENTIRE site, but to redirect just the home page you may encounter … Read More

“Intersect” Not Working in Illustrator – Pathfinder Tips

A common problem for Adobe illustrator beginners is the occurrence of the error “The filter produced no results. Please select two overlapping paths” when attempting to use the “intersect” function of the pathfinder. For whatever reason, support on this particular issue is scant, though the solution is actually quite simple. I am going to illustrate how to accomplish this task … Read More

Padding or Margin Only Affects First Line of Text – CSS

A common problem when formatting your website with CSS is that the first line of text in a paragraph, header, or link is affected by margin or padding while the remaining lines are not. It may even appear as though the first line is indented in some cases while none of the others are. Solution for padding or margin only … Read More

Vimeo Error: “Blocked a Frame with Origin” – Solution

Currently, many users of the embedded iframe video player from Vimeo are getting an error that looks something like this:

This may or may not be causing any problems in actual functionality, but it is annoying and should be fixed regardless. Solution to Vimeo Error The Vimeo team is currently in development of the solution to this problem which … Read More