Speed of the slider images should be increased in wordpress

Note: This is only a quick fix and not a permanent solution (i.e. a theme update might reset these changes). The enlightment theme uses a slider called “flexslider”. To alter the speed you can go into the flexslider javascript-file and change the slideshowSpeed parameter. In your theme folder, navigate to the file “jquery.flexslider.js”. It is … Read more

How to exclude an image size from the WordPress srcset

WordPress allows you to hook into wp_calculate_image_srcset See Core file on Trac This filter gives you 5 arguments: $sources One or more arrays of source data to include in the ‘srcset’ $size_array Array of width and height values in pixels (in that order). $image_src The ‘src’ of the image. $image_meta The image meta data as … Read more

Replacing image attributes (data-src) also applies to backend

Solution is simple, check that is_admin() returns false before doing any modifications to the content, or hook on admin_init to add you hooks. I don’t think that the_content is used in the context of admin, but thumbnail generation might be used. Another thing to keep in your mind is that those hooks might be triggered … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)