My New Issue: Falling in Public

Yesterday I went to meet a potential new client with a work colleague and felt so grownup for not wearing ripped jeans and being 15 minutes early instead of 15 minutes late as usual. Thank you taxi cab driver for picking me up on Park or it would not have happened. The meeting went well. My colleague did most of the talking which is probably why. When it was time to get up to leave I fell down. I still do not know why. I was not drunk and I don’t have an inner ear infection.

Another incident took place near my house while walking Bozzio and Luna, a largeish female Akita. Luna decided she had had enough of the stop and chat with Bliss’ owner (Bliss and her owner saw the whole thing) and yanked me off my feet to try to get to the park a bit faster. I fell and fell on Bozzio’s leash and we both tumbled around on the ground for awhile and Bozzio squeaked so I know I bashed him pretty hard. I got up and of course I’d ripped my jeans and had a nice cut on my knee. My palms felt pretty good, too. And then I felt awful for hurting Bozzio. I didn’t care about hurting myself. Poor Bozzio.

Then there is one more incident. Less fancy but possibly interesting because it might have been the beginning of the trend. Again, walking Bozzio but wearing my Kork Ease wedges, unusual footwear for dog walking, I stepped onto either a pebble or twig the wrong way and went down, stupid shoes. Of course there were about 60 people waiting for the bus who saw me. It is much more awful to fall where lots of people can see you. But of course falling in complete privacy can’t always be arranged.

Another Featured Content Slider Tutorial

All of my latest projects have involved putting a featured content slider of some kind on the home page. Everybody wants one. There are plenty of plugins both Jquery and WordPress (and Joomla and Drupal) that will build a slideshow for your images. You get a little less to choose from if the content being “slidered” is text and images.
And if using WordPress, you want to be able to use posts, featured images and the_ excerpt or the_content, right?

I’m using loopedSlider by Nathan Searles which has very recently been renamed Slides. I choose this plugin because it lets you choose from several different kinds of of transition effect for the sliding animation, has paging and can handle divs. In short it is highly flexible and extremely simple to use. Thank you, Nathan Searles for creating it and offering to the public.

If it’s so easy why do I need to write a tutorial? Because it got a little complicated when it came to using this plugin for WordPress posts. Here is a code example of a featured content gallery or slider that grabs 6 Posts according to a Tag. The amount of Posts is optional as is the Tag. The example code is not using the Loop and is safe to use in a theme file that is using the Loop – not in the Loop itself – that goes with out saying, I hope.

[php]<div id="featured-slider" class="bigbox">

<div id="slideshow">

<?php global $post;
$tmp_post = $post;
$myposts = get_posts(‘tag=featured&posts_per_page=6’);
foreach($myposts as $post) :
setup_postdata($post); ?>

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

<span class="slideimage">
<?php the_post_thumbnail(‘big-slider’);?>
</span>

<span class="slidetext">

<h2><?php the_title();?></h2>

<span class="excerpt"> <?php the_excerpt();?></span>

</span>

</div><!–/post–>

<?php endforeach; wp_reset_query();?>

</div><!–/slideshow–>

<div class="bottom-slider-content">
<div id="slidernav"></div>
</div><!–/bottom-slider-content–>

</div><!–/.bigbox #featured-slider–>[/php]

Purists will not like the use of heading tags inside span tags but I found it somewhat easier to use span tags so that the slider knew when to stop sliding things.

Of course you have to download the slider JavaScript from the Slides Web site. Of course you have to be using Jquery in your theme. On the Slides Web site you will find many option examples and implementation codes. Here is how I configured mine. Note: I built this slideshow using loopedSlider so it might be helpful to visit that page as well for examples.

[js]$(document).ready(function(){
$(‘#slideshow’)
.after(‘<div id="slidernav">’)
.cycle({
fx: ‘scrollDown’,
// choose your transition type, ex: fade, scrollUp,scrollLeft,scrollRight, shuffle, etc…
speed: 1500,
// defines the number of milliseconds it will take to transition from one slide to the next.
timeout: 9000,
// specifies how many milliseconds will elapse between the start of each transition
pause: 1,
// so that pauses when user hovers over a slide
delay: 9000,
// set a delay before 1st slide starts transitioning
pager: ‘#slidernav’
//instructs the plugin to create navigation elements,
one for each slide, and add them to the container
identified by the value of the pager option.
});

});[/js]

Using the Featured Image in the Content Slider

If you look at the content slider code carefully you’ll notice I am using a Featured Image size named big-slider. I added this to my theme functions.php in order to be able to use a specific image size in the slider. Very useful for a consistent look.

Please backup functions.php before editing it!

[php]
add_theme_support( ‘post-thumbnails’ );
add_image_size( ‘big-slider’, 600, 315, true );
[/php]

If your functions.php already has the add_theme_support code don’t add it in again. Also, you can choose whatever size you want.
The first number is the image width, second is the height. You’re supposed to be able to have an open size , example: add_image_size( ‘big-slider’, 600, 999, true );

But I have had difficulty with this.

And then of course you can skip this and just put an array for the featured image directly into the slider query code,
example: the_post_thumbnail(array(600,315) );
instead of the_post_thumbnail(‘big-slider’);.

If you choose to do this you don’t need to add an image size to your functions.php but you should still take a look to see if your theme supports them. I know this is said over and over again but the image size you choose either in the query or the functions.php code does not work on already uploaded images.

In order to have the size you set kick in you must re upload the image and then choose it to be the featured image.

Download the example [download id=”13″]

For CSS (styling) and Javascript please visit Slides or loopedSlider.

Experiment: Unique, Quality Content instead of SEO


For years SEO tricks made it possible for a completely useless web site to beat out a useful Web site because they were cleverer with SEO (whitehat, greyhat or blackhat) mastery. Not surprisingly masters of SEO did not necessarily help the searching public get to the content that they were actually looking for. Consider also that knowing SEO to this extent became a business in and of itself. What if they had been delivering relevant content instead of SEO, all along?

Why not try crafting your content with the same ingenuity you drew from to create such a unique product or service? Wasn’t this product or service the reason you needed a Web site in the first place? So why aren’t you writing about it in your own voice using your own words?

  • Even if you didn’t personally create the product you must like it or you wouldn’t be trying to sell it.
  • Even if it is just a popular item so that is why you’re selling it there are ways to present it and write about it that no one else is using.
  • Fact: most people reselling online copy the same product images and description text from the same wholesaler Web site or from each other.
  • Fact: being lazy with your product images and descriptions is going to translate online.

With digital cameras being as affordable and taking as high quality photos as they are capable of now, there is absolutely no excuse to re use product images from the wholesaler.
And as far as writing copy for the product description you don’t have to be Jonathan Franzen, just be natural. Try to use correct grammar and sentence structure and above all use SpellCheck! I do not care if you are the worst speller in the world – misspelled words should never make it into your product descriptions.