ThemeForest

Wordpress Thumbnail Help

505 posts
  • United States
  • Beta Tester
  • Won a Competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
SnedekerDesignz says

So I am making a new site, SemiProApps (Free app/software blog) and I want the newest post to be a big banner and the rest to be smaller thumbnails (just on home). And on the category pages I want them to be even smaller.

How do I do that?

And can I make it so it resizes/crops the image so I only have to use 1 image instead of three?

Thanks

faevilangel_designs
faevilangel_designs Recent Posts
Threads Started
83 posts
  • Exclusive Author
  • Has been a member for 3-4 years
  • United Kingdom
faevilangel_designs says

i’m sure there is an option on image sizes in the wp-settings part of the admin menu

also you can specify it, via css & php code.

Look on net tuts for a wordpress featured post code

959 posts
  • Sold between 100 and 1 000 dollars
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Microlancer Beta Tester
  • United States
fillerspace says
505 posts
  • United States
  • Beta Tester
  • Won a Competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
SnedekerDesignz says

Ok great but how do I make the newest post big, the 5 next posts medium, and all the other posts on the site (including the categories page) small thumbnails?

959 posts
  • Sold between 100 and 1 000 dollars
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Microlancer Beta Tester
  • United States
fillerspace says

Maybe in The Loop, you can add a counter starting at 1. When the counter is 1, use the code for the big image. When the counter is between 2 and 6, use the code for the medium image. Default to using the code for the small image and everywhere else, don’t initialize the counter.

505 posts
  • United States
  • Beta Tester
  • Won a Competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
SnedekerDesignz says

I’m sorry, what’s a counter and how do I use it?

I’ll google it and post if I found anything…

690 posts
  • Has been a member for 4-5 years
  • Sold between 50 000 and 100 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Poland
  • Referred between 10 and 49 users
pogoking says

Just declare the PHP variable which equals 1. Make an if statement at the beginning of loop, and check if the variable equals 1, if yes – place the code for the big post. At the end of each loop add +1 to the variable. Then check if your variable is between 2 and 6, if so – use the code for smaller posts… And so on…

505 posts
  • United States
  • Beta Tester
  • Won a Competition
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
SnedekerDesignz says

I got it. Thanks guys =D

by
by
by
by
by