Lora77
Forum Replies Created
-
Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] Image SizesStep 1.
In your WP dashboard go to Plugins -> Editor -> WpZon -> wpzon.phpStep 2.
With CTRL + F look for $img = $item->SmallImage->URL; and change it to $img = $item->MediumImage->URL;.Step 3.
Look for 15% and change it to 25%.
Look for 75% and change it to 65%
Look for 97 and change it to 170.
The numbers will appear multiple times so please make the necessary changes in order the code to work properly.Step 4.
Click on “Update Plugin”Hope this helps:)
Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] I had an idea for an extension for WpZone.Sorry for the late reply.
If i understood well you would like to display more than 10 products.
At the moment it is only possible by using multiple shortcodes.
You can achieve this by adding the “page” attribute to the shortcode.
For example if you wan to show 20 juicers the code will look like:[wpzon keywords=”juicer” sindex=”Kitchen” listing=”10″ page=”1″]
[wpzon keywords=”juicer” sindex=”Kitchen” listing=”10″ page=”2″]
The scroll function is not available at this time. I am just a newbie in coding:)
If there is anybody who knows how to do that, it is free to modify the code and share it on this forum. It would be an amazing help.
Thank you.So each time when a new post is added to a category, it also auto create a block on the page.
You can do that by editing your template file. For this go to Themes -> Editor -> Single Post(single.php)
Then look for <?php the_content(); ?> and before or after it add the following line, depending where you want to display the products:<?php if ( in_category( 'xxx' )) { echo do_shortcode('[wpzon keywords="ipad case" sindex="Electronics" listing="10"]');} ?>
xxx – is the category ID or name.
Hope this helps ??
God bless!Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] How to change "Various" to show the prices?Hi,
1) Unfortunately for categories, such as Apparel or Shoes there are various sizing options with different prices and in these cases the API returns no price.
I would also advise to try to use more specific keywords. The plugin returns products that have in their title and/or description your specified keywords. Clothing is something too broad. Try for example “kids jeans” , “green hoodie” , “shirt for men” etc. Also you can play with sort values (pricerank, relevancerank, salesrank etc.) or not use it at all in order to change displayed items.2) and 3) I will soon make an update with these features as well.
Hope this helps ??
Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] Is there more than one type of wpzon?If you are talking about Wp Zon Builder, that is a plugin not developed by me. It is a different one and comes with other features.
If you are talking about another one and it is the same as WpZon than can you please share it where did you find it.
Oh, sorry
1. Check if you’ve correctly entered your Amazon keys and that there are no spaces before and after the numbers
2. Make sure you insert the shorcode in your post while you are in HTML mode.
3. Make sure you are using it with Amazon US (country is set to US)
If not please edit the sindex and snode values for that respective country.
4. It could be a problem a with your theme. Try using it with the default Wp theme, Twenty ElevenI see it working fine on your site and the shortcode is correct as well
Links are clean, nofollow….i don’t see why there should be a problem
Google penalizes poor quality affiliate sites that don’t offer any value to the reader (i.e. stuffed with affiliate links).
If you can provide original, useful content (reviews, how tos, lists etc.) everything should be fine.
Target niche audiences.
For example if you want promote marketing books by Philip Kotler you could offer a short informative author bio and write about his popular theories, you could also make a list with some of the top lessons from him or review one of his books and present the rest as related etc.
But never make sites only for affiliate products.
Readers and quality, useful content should always be a priority!Open wpzon.php
1. On line 91 replace
$img = $item->SmallImage->URL;
with
$img = $item->MediumImage->URL;
2. From line 136 to line 159 replace
$content .= '<a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;">'.$titlel.'</a> <div style="margin:1px 0 5px 0;height:155px;width:540px;"> <div style="float:left;width:100px;"> <img src="'.$img.'" style="margin:0;padding:0;float:left;border:none;" /></div> <div style="float:left;margin:10px 0 0 0;width:440px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.' </a> <strike style="color:#444;"><span style="font-size:13px;text-decoration:none;font-weight:500;color:#000;">'.$lprice.'</span></strike></br><div style="font-size:12px;clear:left;">'.$avab.'</div><a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;">'.$seed.'</a></div></div>';} else { if(($i % 2)==0){ $content .= '<div style="margin-bottom:20px;float:left;width:47%;margin-right:6%;height:230px;"> <div style="width:250px;height:97px;" > <img src="'.$img.'" style="margin:0;padding:0 0 20px 30px;border:none;" /></div> <a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;float:left;">'.$title.'</a> <div style="float:left;margin:3px 0 0px 0;;width:250px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.'</a> <strike style="color:#444;"><span style="font-size:13px;color:#252525;;">'.$lprice.'</span></strike><br><span style="font-size:12px;">'.$avab.'</span></div></div>'; } else { $content .= '<div style="margin-bottom:20px;float:left;width:47%;margin-right:0%;height:230px;"> <div style="width:250px;height:97px;" > <img src="'.$img.'" style="margin:0;padding:0 0 20px 30px;border:none;" /></div> <a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;float:left;">'.$title.'</a> <div style="float:left;margin:3px 0 0px 0;;width:250px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.'</a> <strike style="color:#444;"><span style="font-size:13px;color:#252525;;">'.$lprice.'</span></strike><br><span style="font-size:12px;">'.$avab.'</span></div></div>'; }
with
$content .= '<a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;">'.$titlel.'</a> <div style="margin:1px 0 5px 0;height:220px;width:540px;"> <div style="float:left;width:170px;"> <img src="'.$img.'" style="margin:0;padding:0;float:left;border:none;" /></div> <div style="float:left;margin:22px 0 0 0;width:370px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.' </a> <strike style="color:#444;"><span style="font-size:13px;text-decoration:none;font-weight:500;color:#000;">'.$lprice.'</span></strike></br><div style="font-size:12px;clear:left;">'.$avab.'</div><a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;">'.$seed.'</a></div></div>';} else { if(($i % 2)==0){ $content .= '<div style="margin-bottom:20px;float:left;width:47%;margin-right:6%;height:270px;"> <div style="width:250px;height:170px;" > <img src="'.$img.'" style="margin:0;padding:0 0 20px 30px;border:none;" /></div> <a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;float:left;">'.$title.'</a> <div style="float:left;margin:3px 0 0px 0;width:250px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.'</a> <strike style="color:#444;"><span style="font-size:13px;color:#252525;;">'.$lprice.'</span></strike><br><span style="font-size:12px;">'.$avab.'</span></div></div>'; } else { $content .= '<div style="margin-bottom:20px;float:left;width:47%;margin-right:0%;height:270px;"> <div style="width:250px;height:170px;" > <img src="'.$img.'" style="margin:0;padding:0 0 20px 30px;border:none;" /></div> <a href="'.$link.'" rel="nofollow" style="text-decoration:none;font-weight:600;float:left;">'.$title.'</a> <div style="float:left;margin:3px 0 0px 0;width:250px;"><a href="'.$link.'" rel="nofollow" style="color: #'.$pricecol.';font-size:15px;text-decoration:none;font-weight:600;"> '.$sprice.'</a> <strike style="color:#444;"><span style="font-size:13px;color:#252525;;">'.$lprice.'</span></strike><br><span style="font-size:12px;">'.$avab.'</span></div></div>'; }
Let me know if it worked for you!
Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] wpzon plugin on wordpressHi there,
It seems like there was a problem with your shortcodes.
1. The category (sindex) names always start with a capital letter.
2. When comes to keywords you can not use special characters like & for example.
3. As of the listing, Amazon only allows to display a maximum of 10 products. I can’t do anything about that….sorry.
In summary the correct shorcodes should look like.
[wpzon keywords=”laptops” sindex=”Electronics” snode=”565108″ sort=”salesrank” listing=”10″]
[wpzon keywords=”tablets” sindex=”Electronics” snode=”1232597011″ sort=”salesrank” listing=”10″]
[wpzon keywords=”PDAs, Handhelds Accessories” sindex=”Electronics” snode=”172594″ sort=”salesrank” listing=”10″]
[wpzon keywords=”camcorders” sindex=”Electronics” snode=”172421″ sort=”salesrank” listing=”10″]Hope that solved your problem ??
P.S. I would also advice to use the singular form of the keywords in order to get the best search results.
Forum: Plugins
In reply to: [WpZon - Amazon Affiliate Plugin] wpzon plugin on wordpressHi,
What the shortcode looks like on the blank pages?
May i ask you what other plugins are you using?