View Single Post
  #10  
Old November 14th, 2013, 04:17 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

1. There are a total of 11 merchants with products in your store. Two of them appear twice because one is for products and one is for coupons. Therefore only 9 logos will appear on your site. And I see 9 logos on your site.

2. They seem tidy in your sidebar:



If you need further styling, you'll need to apply CSS styling to them.

3. You need to set your Permalink settings to something other than "Default" here: WordPress Admin Area > Settings > Permalinks. I suggest "postname".

4. Just coupon logos is not possible. However if you want to limit the number of logos that appear, change the code from this:

PHP Code:
    $merchants $wpdb->get_results("SELECT merchant, merchant_id FROM ".$wpdb->prefix."dfr_shop_products WHERE state = 1 GROUP BY merchant"); 
To this:

PHP Code:
    $merchants $wpdb->get_results("SELECT merchant, merchant_id FROM ".$wpdb->prefix."dfr_shop_products WHERE state = 1 GROUP BY merchant LIMIT 5"); 
Eric