devbynature
Forum Replies Created
-
This is from a while back; however, I felt that I should mention that using srcset would be the proper method of being responsive. Just setting 1 image for mobile and 1 image for all other sizes doesn’t cut it anymore. Google Pagespeed will scream at you about resizing.. especially if you are doing a full-width slider.
Forum: Plugins
In reply to: [Warm Cache] Not working with PHP 7.0.2I’m using PHP 7.0.2-1+deb.sury.org~trusty+1.
The plugin seems to be working properly for me; however, my error logs are also filled with the Declaration warnings…
Forum: Plugins
In reply to: [WooCommerce] Group by while maintaining orderJust did it via php loops.
Forum: Plugins
In reply to: [WooCommerce] Setting image to product categoryThat worked heavenly. Sorry it took so long to close out.
Forum: Plugins
In reply to: [WP e-Commerce Predictive Search] Exclude products via backend phpI ended up adding the product ids to the wp_ps_exclude table manually.
Forum: Plugins
In reply to: [YITH WooCommerce Compare] Moving close buttonI just went ahead and gave it an absolute positioning to the top. If there is a better way then let me know.
Forum: Plugins
In reply to: [WooCommerce] Altering the shop loopThat is exactly what I needed! Thanks!
Forum: Plugins
In reply to: [WooCommerce] Altering the shop loopThanks lorro. I already customized the template but was looking more for how I modify the actual loop query if that makes sense?
Forum: Plugins
In reply to: [JSON API User] Has all the xProfile fieldsIs there a query by xProfile field? For example, padding an endpoint a field and it returns all users that match?
Forum: Themes and Templates
In reply to: Script Header ImageYou have to add the custom JavaScript to the theme (probably best in the footer) then use or create an ID for the header that will be used to change the image.
The custom javascript is as follows:
<!-- function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } } function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments[i]].src = changeImages.arguments[i+1]; } } } var preloadFlag = false; function preloadImages() { if (document.images) { Videos_over = newImage("https://sites.google.com/site/thestampinschach/Videos-over.png"); Videos_Rewards_over = newImage("https://sites.google.com/site/thestampinschach/Videos-Rewards_over.png"); Rewards_over = newImage("https://sites.google.com/site/thestampinschach/Rewards-over.png"); Rewards_Join_over = newImage("https://sites.google.com/site/thestampinschach/Rewards-Join_over.png"); Join_over = newImage("https://sites.google.com/site/thestampinschach/Join-over.png"); Join_Specials_over = newImage("https://sites.google.com/site/thestampinschach/Join-Specials_over.png"); Specials_over = newImage("https://sites.google.com/site/thestampinschach/Specials-over.png"); Specials_Products_over = newImage("https://sites.google.com/site/thestampinschach/Specials-Products_over.png"); Products_Specials_over = newImage("https://sites.google.com/site/thestampinschach/Products-Specials_over.png"); Products_over = newImage("https://sites.google.com/site/thestampinschach/Products-over.png"); Awards_over = newImage("https://sites.google.com/site/thestampinschach/Awards-over.png"); preloadFlag = true; } } // -->Just add it and modify accordingly.
Are you sure that you are using the Twenty Fifteen theme? I am not getting a 250×250 image when I upload.
Forum: Themes and Templates
In reply to: Having a Line break/empty space issueYou could insert
<div class="clearfix"></div>before the headings. This will clear out the floats and allow it to start over on the left instead of floating off to the right.