diswell
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Full CacheThanks for the response – will give it a try.
Forum: Plugins
In reply to: [Autoptimize] Full CacheI have the same issue, but do not have “also aggregate inline JS” enabled.
I’ve had this issue previously – it was due to gzip being *already* enabled in the server configuration. Check your Apache/Nginx etc configuration to see if you have gzip enabled elsewhere.
Forum: Plugins
In reply to: [Amazon Associates Link Builder] Creating shortcode. Please wait….I have the same issue with the plugin hanging when creating a shortode. The Javascript console reports the following error:
JQMIGRATE: Migrate is installed, version 1.4.1
http://www.wegotserved.com/wp-admin/admin-ajax.php Failed to load resource: the server responded with a status of 500 (Internal Server Error)Hi Jeremy
It certainly does help and is now installed in my functionality plugin. Many thanks for your support!
Best wishes for 2016!
Forum: Hacks
In reply to: Use Search Query as Javascript variableNoted – thanks; I appreciate the warning. I updated the command and all looks great.
Forum: Hacks
In reply to: Use Search Query as Javascript variableWorks very well – thanks so much, Deepak – I truly appreciate you assistance.
All the best
TerryForum: Hacks
In reply to: Use Search Query as Javascript variableGreat, that makes sense. So, the javascript snippet is below. The key line is:
amzn_assoc_default_search_phrase = “searchterm”; //programmatically specify this
I need to take the results of the use $_GET[‘s’] command you mention and embed them into “searchterm”. How would I do this?
Thanks again.
—-
<script charset=”utf-8″ type=”text/javascript”>
amzn_assoc_ad_type = “smart”;
amzn_assoc_ad_mode = “search”;
amzn_assoc_marketplace = “amazon”;
amzn_assoc_region = “US”;
amzn_assoc_tracking_id = “mytag”;
amzn_assoc_default_search_phrase = “searchterm”; //programmatically specify this
</script>
<script src=”//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US”></script>Forum: Hacks
In reply to: Use Search Query as Javascript variableThanks for the reply.
However, the Javascript isn’t going to be a separate .js file – it’s just a small snippet on the embedded on the search.php itself. How would this alter the instructions?