• Resolved wildtogo

    (@wildtogo)


    I am looking for a PLUGIN that can either PULL POST TITLES in automatically into a Amazon Link or where it’s really easy to do so.

    Basically I have a ton of different products that I post on that I would like to have an Amazon Link on each page go to that particular product….

    Automation would be great but if Manual Form fill is necessary that is also an option. I just want to be able to add POST titles into an affiliate search string so my customers can find each product on amazon.

    https://wordpress.org/plugins/amazon-link/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    The plugin can do this, you just need to craft a bit of php code to go in your single post template.

    If you’re still interested let me know and I’ll have a bash at it.

    Paul

    Thread Starter wildtogo

    (@wildtogo)

    Yes I am very interested!!!

    Plugin Author paulstuttard

    (@paulstuttard)

    Okay if you just want a single link to the Amazon site searching for the keywords in the post title you can do the following:

    1. Create a template called ‘url’ or something else if you prefer with the following settings:
      Type: No ASIN
      Content: %SLINK_OPEN%%TEXT%%LINK_CLOSE%
    2. Change the Amazon Link setting ‘Default Search String‘ to be %TITLE%.
    3. Update your themes template where it outputs the post content to contain something like:
      <?php
      $title = get_the_title();
      echo amazon_shortcode('template=url&text=search on Amazon&title='.$title);
      ?>

      In the theme twentythirteen, this would be in the file ‘content.php’.

    If you want the plugin to actually perform an Amazon search and display a list of products it can do this too, but would potentially slow your page loading down somewhat.

    Paul

    Hello Paul,

    for step 1: where I can create a template?

    Thank for your help.

    Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    Just go to the Amazon Link > Templates admin page of your WordPress site, and create a New template.

    Cheers,

    Paul

    Hi Paul,

    Thank you very much.

    Tai

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can this Plugin Auto Insert Queries from Site’ is closed to new replies.