A A A

Please consider registering
guest

Log In Register

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Changing the number of Product thumbnail images shown on homepage
February 27, 2009
7:58 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

This is a pretty easy modification, and only requires one small change.

First, open up the Main Index Template for editing (index.php) through the Wordpress administration "Theme Editor".

Search for the following line:

  <?php $my_query = new WP_Query('category_name=products&showposts=12'); while ($my_query->have_posts()) : $my_query->the_post(); // check for product large image

Locate in the line where it says "showposts=12".  Change the number "12" to whatever number you like.

NOTE:  It's usually best to keep the number a multiple of 3, since the design layout is optimized to fit 3 thumbnail images across.  (ie. 3, 6, 9, 12, 15, 18, etc.) 

Save the file.

That's it.

December 1, 2009
9:11 pm
Member
Forum Posts: 10
Member Since:
November 18, 2009
Offline

Is this still the way to do this?  I looked in the appropriate php file and did not find the code stated above.

December 2, 2009
3:35 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

No… Market has advanced since then.

You can now change the number of thumbnails shown through the "Market Theme" options settings area of your Wordpress administration dashboard.

Forum Timezone: UTC 0

Most Users Ever Online: 40

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2371

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2983

Posts: 16042

Moderators: Market Admin (5051)

Administrators: Market Admin (5051)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.