Title: Amazon plugin
Last modified: August 18, 2016

---

# Amazon plugin

 *  [cahira](https://wordpress.org/support/users/cahira/)
 * (@cahira)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/amazon-plugin-1/)
 * I’m using the Amazon plugin as a way to show what book I am currently reading.
 * I’d also like to do the same with video games I am playing, but I’d like them
   to be separate sections. I was thinking the only way to do this would be install
   a duplicate Amazon plugin, but I know that wouldn’t be easy …
 * currently i have just renamed the section to “currently reading/playing” and 
   added the video game … so the book is shown and the video game is below it (all
   in the same section). that was the only thing i could think of doing to get what
   i want.
 * is there another plugin I can use additionally, or can i do something with existing
   plugin to make two separate entities?

Viewing 15 replies - 16 through 30 (of 43 total)

[←](https://wordpress.org/support/topic/amazon-plugin-1/?output_format=md) [1](https://wordpress.org/support/topic/amazon-plugin-1/?output_format=md)
2 [3](https://wordpress.org/support/topic/amazon-plugin-1/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/amazon-plugin-1/page/3/?output_format=md)

 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172867)
 * OK, that takes away the title etc, but leaves the time date stamp, it is still
   aligning to the right and is no longer a clickable link. Also I’d like to go 
   with an image a tad bigger if possible. Would you mind taking a peek?
 * [http://www.danisown.com/blog](http://www.danisown.com/blog) (right sidebar is
   where the 2 blocks are)
 * Thanks!
 *  [adb](https://wordpress.org/support/users/adb/)
 * (@adb)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172869)
 * I’m using CG-Amazon. I’d like to add my Amazon Associate ID. How can I do this?
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172871)
 * the associates id is added in the cga-config.php file
 * // set this if you have an Associates ID you want to use
    // $AmazonID = ‘ ‘;
 * add your id, and uncomment the line
 *  [adb](https://wordpress.org/support/users/adb/)
 * (@adb)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172872)
 * Thanks!
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172877)
 * nyifan –
 * Which function(s) are you calling? That’ll make a difference in how I approach
   this.
 * I’m going to need to code something up. I thought I had a solution, but the Preview
   thing isn’t it… The display:none should work (others have used that), but there
   should be a simple solution for folks who just want to output a list of picture-
   links of a given size. Lemme look into it, and I’ll try to get 1.5a7 out with
   a fix in the next day or two… if my schedule plays nice! 😉
 * -d
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172878)
 * I have a solution roughed out, with a new cga-config variable to control it, 
   and the added ability to allow the Annotations to be output if you say to (turns
   off all text generally, but allows you a per-item override if you want it, and
   only where you specify it in the local database…). Timestamp is also turned off
   as a side-effect for the moment.
 * What this will allow you is basically to say you just want images, nothing else.
   The overall ‘wrappering’ of amazon block output will occur as normal, so that
   you have extra divs/etc. that you can apply CSS to in order to have a LOT of 
   flexibility with formatting.
 * Note that cga-config also allows other control of the output, via $amazonWrapperDiv,
   $amazonWrapInfo, $amazonInfoBreak, $defaultAmazonImage, and more. Write back 
   if you need more help (I didn’t see a CG-Amazon block on your site — just your
   existing amazon stuff…).
 * Keep an eye out, as not sure if I’ll make one new thread or multiple crossposts
   as I get A7 out the door…
 * -d
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172881)
 * Hi David
    I got frustrated last night and yanked it off until I could get it 
   the way I wanted it – long way around, temp fix
 * When i get home from work I will check to see if the new version is available
   for download and start again =) Thank you so much for your help and for the changes!!
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172882)
 * If you send me an email at cgcode at chait dot net, with more details of exactly
   what you are trying to do in terms of results, formatting, etc., I can try to
   mock it up locally and ‘prove out’ the CSS tweaks.
 * -d
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172883)
 * Hi David
    I got frustrated last night and yanked it off until I could get it 
   the way I wanted it – long way around, temp fix
 * When i get home from work I will check to see if the new version is available
   for download and start again =) Thank you so much for your help and for the changes!!
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172886)
 * Don’t know if you just accidentally double posted, but do drop me an email or
   post here with what ‘visually’ you are trying to get for results, so I can help
   make sure the output is generating the results you’ll want/need. 😉
 * -d
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172887)
 * That is BEYOND weird – I didn’t do the 2nd posting – HONEST lol
 * I just sent the email your way. THANK YOU!
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172888)
 * New version posted. 😉
 * -d
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172889)
 * We’re closer! Have some weirdness still though!
    I realize you have many other
   things on your plate, so when you get a chance to look, great =)
 * 1 – I have image size set to medium, but image still seems like it’s small
    2–
   If you mouse over the image, it’s like there is a size set for the image and 
   when you hover you see the outline 3 – the positioning is closer to what I wanted,
   but it appears that there is a set left margin instead of a true center option.
   larger images (music) are left aligned with the books, rather than taking a centered
   position
 * and finally,
    4 – the VH album is obviously music, and it is tagged as “Listening”
   in the CGA options, yet for some odd reason, it shows in Reading, with the 2 
   books while Listening shows “no products found”
 * I am calling the list with:
    `<? show_amazon_items(3, true, "Reading"); ?>` and`
   <? show_amazon_items(3, true, "Listening"); ?>`
 * Leaving it up even though it’s off in case you get a chance to take a peek.
 * Many thanks!
    -=D
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172890)
 * Will send this in email as well, but cc here so others can learn.
 * 1. cga-config.php. try uncommenting the line:
    // $defaultAmazonImage = ‘SmallMediumShadowed’;
   And note the sizes are all InitCapsWords — lowercase won’t match. So if you want
   medium, use ‘Medium’. Medium is big though, you likely want SmallMedium (but 
   SmallMediumShadowed might be cool/different for many folks, so I added that as
   a ‘sample default’).
 * 2. Well, the link IS being tagged as display: block. If #3 below doesn’t make
   things look better, let me know. If you want to ‘adjust’ just the hover, I just
   tested on my site something like:
    .amazon-item-wrap a:hover { background: #223366;}
   Obviously, you can adjust the ‘a’ as well as ‘a:hover’ if you want. There’s an
   existing “.amazon-item-wrap a” in the css that does the block control.
 * 3. The css for the sidebar that’s important is “.amazon-block li”. You want something
   like:
    .amazon-block li { text-align: center; } The ‘float’ and ‘inline’ cases
   are only used with CG-Inline. (HINT: Do a View Source on the page, find the output,
   and look at how it generates — good to see what you want to try to tag.) (HINT
   2: The cg-amazon.css file is only an example approach — feel free to rip it apart,
   start from scratch, modify what’s there.. whatever works for you!)
 * 4. Try:
    `<? show_amazon_items(3, 'time', true, "Reading"); ?>` and `<? show_amazon_items(
   3, 'time', true, "Listening"); ?>`
 * -d
 *  [nyifan](https://wordpress.org/support/users/nyifan/)
 * (@nyifan)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/amazon-plugin-1/page/2/#post-172893)
 * really fast this morning, tried a few quick things before work, and it is SO 
   close =) I need to get that block centered, and adjuct the background ont he 
   block yet, but I think (operative word) I can tease apart the css to get what
   I want now. You sir, are a prince amung men =)
 * Thank you!!!

Viewing 15 replies - 16 through 30 (of 43 total)

[←](https://wordpress.org/support/topic/amazon-plugin-1/?output_format=md) [1](https://wordpress.org/support/topic/amazon-plugin-1/?output_format=md)
2 [3](https://wordpress.org/support/topic/amazon-plugin-1/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/amazon-plugin-1/page/3/?output_format=md)

The topic ‘Amazon plugin’ is closed to new replies.

 * 43 replies
 * 7 participants
 * Last reply from: [davidchait](https://wordpress.org/support/users/davidchait/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/amazon-plugin-1/page/3/#post-172961)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
