';
$pageTxtArr[] = '
[amazon-grid] ' . __( 'Shortcode', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = '
' . __( 'Shortcode implementation for a grid style layout — for when you may only want rows of products in set columns.', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = '
' . __( 'Available Shortcode Parameters:', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = '
';
$pageTxtArr[] = ' asin — ' . __( 'Required. The Amazon ASIN or ASINs (add multiple by separating with a comma).', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' target — ' . __( '(optional) Default is "_blank". Applies to all ASINs in list.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' fields — ' . __( '(optional) Fields you want to return. Any valid return field from Amazon API (see API for list) - default fields: image, title, author, price, button. Applies to all ASINs in "asin" field. (optional)', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' labels — ' . __( '(optional) Labels that correspond to the fields, if you want custom labels (optional). See amazon-elements shortcode tab for more info on labels as they will function the same.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' columns — ' . __( '(optional) Number of columns in your grid. (optional) Default is 3.', 'amazon-product-in-a-post-plugin' ) . ' ';;
$pageTxtArr[] = ' button_url — ' . __( '(optional) URL for a different button image if you desired. See amazon-elements shortcode tab for more info on button URLs.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' locale — ' . __( '(optional) The amazon locale, i.e., co.uk, es. This is handy of you need a product from a different locale than your default one. Applies to all ASINs in list.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' partner_id — ' . __( '(optional) Your amazon partner id. default is the one in the options. You can set a different one here if you have a different one for another locale or just want to split them up between multiple ids. Applies to all ASINs in list.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' private_key — ' . __( '(optional) Amazon private key. Default is one set in options. You can set a different one if needed for another locale. Applies to all ASINs in list.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = ' public_key — ' . __( '(optional) Amazon public key. Default is one set in options. You can set a different one if needed for another locale. Applies to all ASINs in list.', 'amazon-product-in-a-post-plugin' ) . ' ';
$pageTxtArr[] = '
';
$pageTxtArr[] = '
' . __( 'Example of the amazon-grid shortcode usage:', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = '
';
$pageTxtArr[] = ' - ' . __( 'if you want to have a product with only a large image, the title and button, you would use:', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = ' [amazon-grid asin="0753515032,0753515055,0753515837," fields="title,lg-image,button"] ';
$pageTxtArr[] = ' - ' . __( 'If you want that same product to have the list price and the new price, you would use:', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = ' [amazon-grid asin="0753515032,0753515055,0753515837" fields="title,lg-image,ListPrice,new-price,button"] ';
$pageTxtArr[] = ' - ' . __( 'If you want 5 columns and default fields, you would use:', 'amazon-product-in-a-post-plugin' ) . '
';
$pageTxtArr[] = ' [amazon-grid asin="0753515032,0753515055,0753515837" columns="5"] ';
$pageTxtArr[] = '
';
$pageTxtArr[] = '
';
$content[] = implode( "\n", $pageTxtArr );
return $content;
}
public function do_added_shortcode_help_tab($tab = array(), $current_tab = '' ) {
$tab[] = '