Thread Starter
markow
(@markow)
You’ve got something funky going on here….
<?php if ( ” != get_the_post_thumbnail() ) : ?>
” title=”<?php the_title(); ?>”>
<?php the_post_thumbnail(); ?>
I can’t tell what you want this to do what html tag is is the second line in?
I think you want to change the secondline here to something like ths
<?php echo "<h1>".the_title()."</h1>"; ?>
But I can’t tell.
Thread Starter
markow
(@markow)
Ug sorry I could have been a bit more clear, and apparently I can’t edit my old post. So here it is again…
Change
( 'cat='.$category.'&posts_per_page=$n_slices' );
To
( 'cat='.$category.'&posts_per_page='.$n_slices );