robicus
Forum Replies Created
-
That worked! This will be really helpful with our custom templates moving forward. Removing the %description% from Item Format also worked for your provided ‘Text’ template.
Thank you for your quick help! Plugin donation coming your way shortly. ??
Hello,
That’s close to what we need! However, it returns a few things we don’t want (the item description from Amazon, namely).
In a custom template, I’m trying to grab the value for ‘text=’ from AALB’s old shortcode. So, “Race Ramps RR-40” in the following example:
[amazon_textlink asin='B003ZA8WIE' text='Race Ramps RR-40' template='ProductLink' store='storetaghere-20' marketplace='US' link_id='94c08f05-187c-4745-b4cf-31f08815468c']
Is there some type of PHP code I could use in place of ((Link_Text_Here)) in the custom template code I have so far:
<?php foreach( $aProducts as $_aProduct ) : ?> <a href="<?php echo esc_url( $_aProduct[ 'product_url' ] ); ?>" target="_blank" rel="nofollow"> ((Link_Text_Here)) </a> <?php endforeach; ?>
Forum: Plugins
In reply to: [WP Mobile Detect] Not Working with W3TCI have the same problem, Mike. Once a page is loaded on a device, that device’s content is cached and served on every ensuing page view no matter what device you’re using. Currently looking for a workaround that doesn’t involve disabling caching entirely for mobile users. If anybody has any ideas that could help, that would be awesome!