WordPress.org

Forums

WpZon - Amazon Affiliate Plugin
Pull posts from Category and display in Grid View format (3 posts)

  1. yangman
    Member
    Posted 2 years ago #

    It will be awesome if this plugin can pull the post title, featured image, star rating, customers review count and maybe sale price from any category...and add a buy button or more info button below, and display on a page in grid view using short code. So each time when a new post is added to a category, it also auto create a block on the page.

    I have yet to see a plugin which can do just that. I don't mind paying for the customization if it's worth your time :)

    http://wordpress.org/extend/plugins/wpzon/

  2. Lora77
    Member
    Plugin Author

    Posted 2 years ago #

    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!

  3. yangman
    Member
    Posted 2 years ago #

    Thanks. Can't wait to try that :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WpZon - Amazon Affiliate Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.