Taking a motorcycle trip through Arkansas and Missouri in 1 week. Looking at different ways to mount a camera to my handlebars without having to buy an expensive mount. Looking at solutions such as this.
This past weekend, I took part in Scott Kelby’s Worldwide Photowalk. This is an annual event where groups are formed all around the world to walk and take photo’s on the same two days. The event was held October 1-2, 2011. The local group here in Tupelo got together on October 1st, for a Saturday morning walk around the downtown area. Including myself, there were eight people there. I didn’t know anyone before the walk, and they all seemed to know each other. This left me as sort of an outsider, but everyone was nice and inclusive.
This was not really a seminar or class type of setting, but more of a social event. The majority of the participants were members of a local photography club, which I may join since meeting them. I’m always interested in improving, so I think that may be a good way to not only improve, but get to know other people with similar interests. One lady I met does web design for a living, so definitely some interesting contacts. Most of the group were meeting for lunch after the walk, but I had to decline due to another commitment(a.k.a. cub scouts). The winning shot out of the group wins the latest Scott Kelby book. Although I’m quite certain I don’t have a winner here, here are 9 of the 85 or so pictures I took…
The basics of this should work with about any WordPress theme, but the Twenty Eleven theme is the newest default theme for WordPress. With all the great features it has out of the box, I decided to activate it here. Only a few minor adjustments were made to fulfill what I wanted it to do. The biggest change was making a page that would list all of my tutorials. In the past, I’ve put this list in the sidebar, but have since decided to run the site without a sidebar(at least for now). Here’s how I made the page template.
First up, I copied my archive.php file, and named the copy category-tutorials.php. The first change I made to my new template was place this code at the top.
<?php /* Template Name: Category-Tutorials */ ?>
This code is what will make the new page template show up as a template option, but more on that later.
In Twenty Eleven, the archive.php template has a ‘page header’. I left that. So, from the closing </header> tag all the way down to the closing content div – </div><!– #content –>, is the WordPress loop. I replaced the loop with this:
<ul class="category"> <?php $archive_query = new WP_Query('cat=7&showposts=1000'); while ($archive_query->have_posts()) : $archive_query->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul>
You’ll notice in the code, my WP_Query calls for “cat=7″, which is category ID 7(my Tutorials category ID). Then it calls for “showposts=1000″, so that it will list ALL the posts in this category. Of course you would need to replace the 7 with the category ID that you are making this page for.
One other change I made, was in the “page-title” code. I changed the word “Blog Archives” to “Tutorials”. You’ll have to glance over the code to find it. This gives the page a heading…Tutorials.
Save that, and the template is done. Upload to the Twenty Eleven theme folder.
All that’s left at this point is to create your page in the WordPress admin. Go to Pages > Add New, and Create a new page. I named mine Tutorials. On the right side of the screen there is a drop down where you can choose a custom page template. I chose my new template out of the drop-down box, and published.
That’s it! All information was gained from the WordPress Codex plus a couple of Google searches.
You can download a copy of mine here.
The purpose of this post is two-fold. First, I want to test out the gallery feature since I’m using the Twenty Eleven theme. This marks the first time I’ve activated a theme that I didn’t create in a long time. But, Twenty Eleven has some nice features, and I wanted to try it out. Second, I wanted to share a few photos I took of my motorcycle that I thought turned out pretty well.
These pictures were taken one Sunday afternoon, when I went for a short ride with the intention of finding a great backdrop (for the photos). Although I took a lot of pictures that day, these are my favorite ones out of the bunch. You can see a few more of them here.
My comments haven’t been working for a week or so. Once I finally had an opportunity to look into the problem, I couldn’t find a fix that worked. I Googled for a solution using multiple phrases, and found fixes for many similar problems, but found no one with the exact same issue. I finally just backed up, created a new database, and went from there. So far, so good.