", " ", $productContent ); if ($amz_description_length!=0) $varExcerpt=amzafs_truncateAmzString(strip_tags($productContent), $amz_description_length); else $varExcerpt=""; if (empty($amzButtonLabel)) $amzButtonLabel="View Product"; $amazonLink = get_post_meta(get_the_ID(), '_wpamz_meta_affilink', true); $amazonPrice = get_post_meta(get_the_ID(), '_wpamz_meta_price', true); $select_price_yesno=$amz_options["select_price_yesno"]; if ($amz_title_length!=0) $varTitle=amzafs_truncateAmzString(get_the_title(),$amz_title_length); if ($select_price_yesno==2) $mostrarYesNo='style="display:none"'; $imagenAmazon=get_post_meta(get_the_ID(),"_wpamz_meta_imgurl")[0]; $select_wholeblock_yesno=$amz_options["select_wholeblock_yesno"]; if ($select_wholeblock_yesno==1) $wholeLinkBlock=""; $frontEndContent.='
'.$wholeLinkBlock.'
'. $varTitle .'
'. $varExcerpt.'
'. $amazonPrice.'
'. $amzButtonLabel.'
'; if( current_user_can('edit_pages') ) { $frontEndContent.='Edit'; } $frontEndContent.='
'; ?>