Website Designers and Webmasters

Dedicated to all the tasks Webmasters, Website Developers and Website Designers find themselves facing.

By: Ashton Sanders

WordPress: Redirect Blog to First Post

Apr 12 2010

I just created a simple WordPress installation. It was only going to be short pages and a simple shopping cart, but at the last minute, they decided to add a blog. Since the area for text was so small, we decided to only have one post for every page. As it would only act as duplicate content, there is no point in using the blog home page at all.

With some help from WP Recipes, I created this code to redirect the blog home template (home.php) to the first post:

<?php
/*
home.php (Blog Home Page):
Redirect To First Post
*/
if (have_posts()) {
while (have_posts()) {
the_post();
wp_redirect(get_permalink());
}
}
?>

It’s actually very simple. It just uses the WordPress Redirect function to redirect to the first permalink that would show up on that page.

Enjoy,
Ashton Sanders

(P.S. If you haven’t heard, Adobe just released the pre-order for CS5… If I were to get one of the packages today, I’d probably get: Adobe Web Premium CS5. It looks ridiculously epic.)

By: Ashton Sanders

Free Vector RSS Icon – Fireworks PhotoShop Adobe Illustrator

May 21 2009

I recreated the normal RSS icon as a vector image, and thought I’d make it available for free (and store it for the next time I need it). Having the vector images make it so much easier to tweak colors and size.

Download Free RSS Icons
Here are three file types of a large RSS vector Image I created.

These RSS images were created as vectors in Fireworks and then exported as layered vector images to PhotoShop (.PSD) and Adobe Illustrator (.AI). I don’t have Adobe illustrator to test, but the other two seem to work fine.

You can see where I added this RSS icon to the top of my sidebar on this blog as well as the blue RSS icon I made for CSS Videos.com. Although the RSS is supposed to be orange, I wanted to go as different as possible while still being useful with CSS Videos.com.

Enjoy,
Ashton Sanders

By: Ashton Sanders

What CMS Fits Your Website Needs?

May 16 2009

This is a question I’ve been asking for a few years.

Recently, I’ve heard a lot about WordPress, Joomla, and Drupal, but it’s practically impossible to find someone who knows all three and is unbiased enough to tell you the pros and cons of each.

Through Montana Programmers, I’ve been able to find a very unbiased Polson Website Developer who has been an excellent resource for asking all sorts of random questions. Although he knows more programming languages than I have fingers and toes, he hasn’t spent years of time testing out CMS’s. ;)

As you can tell, it’s pretty hard to find a unbiased website developer who knows a lot about many of the Content Management Systems, who could give me a good comparison of the Pro’s and Con’s of each. There are a few problems here:
Continue Reading…

By: Ashton Sanders

Twitter Plugins for WordPress

May 4 2009

I just searched the WordPress Plugins section for “twitter” and I got 17 pages of plugins and most of them are crap… ugh.

All I want is a Twitter Plugin that will:

  1. Send a tweet to my twitter when I post on my blog.
  2. Adds a re-tweet link to each blog post.

How difficult can this be? After installing a few highly-rated plugins, and not being satisfied, I decided to write up what I found. This is only 6 of the most popular twitter plugins I could find. If you know of a better one, please let me know so I can check it out. This is in order of Best to Good. I don’t have any crappy plugins on this list. They should all work, at least partially.

Twitter Tools – v1.6

WordPress Plugin Page

Twitter Tools is a plugin that creates a complete integration between your WordPress blog and your Twitter account.

Well that’s a promising introduction. It’s a very simple installation, and just about everything is editable in an easily-accessible Twitter Tools Page. Put in your information, select your preferences, and you are good to go.
Continue Reading…

By: Ashton Sanders

Simple PHP Blog

Mar 16 2008

Filed under: Blogging,PHP,Review

I have already done a lot of ranting and raving about Blogger and WordPress.

Although I consider these two to be the leaders of the blogging pack (by a large margin), I did run across a blog using Simple PHP Blog, and was impressed. It doesn’t have all the crazy features like the other two, but it does have a feature which really attracted my attention. On the bottom of every post there are five dots, and you can rate the post 1 to 5. This way, people can interact with your posts and website without actually having to write a comment.

Don’t get me wrong, the comment function is still intact, but the percent of comments compared to visitors is tiny, while the percent of “ratings” to visitors is much higher.

Another note: Simple PHP Blog isn’t database driven. You can run it on a server without needing a database!

If anyone ends up using this system, please let me know how it goes.
-Ashton Sanders

Older Posts »
RSS

Where Am I?

You have found the semi-coherent ramblings of Ashton Sanders: a website designer, developer and webmaster. This is primarily Ashton's place to save notes about techniques and things that he learns in his never-ending conquest of the internet. Hopefully it's coherent enough to be useful to you too.

Subscribe:

Enter your email to get automatic emails whenever Ashton posts on the blog.

Email:

Advertisers:

Email Marketing $19/Month! OIOpublisher Learn how to make Money from Blogging Hillarious, High-Quality Shirts for $6/each Great Book Keeping and Invoicing Software Advertiser Here

Tags and Categories

Links

Blog Roll