How To Fix Defer Parsing of Javascript Warning in WordPress Using Async

You can do defer JS in WordPress and that is by editing your theme’s functions.php file. Simply copy the code below and paste it at the bottom of your theme’s function.php file: function defer_parsing_of_js ( $url ) {   if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;   if ( strpos( $url, …

Fixing brute force login attempts in wordpress websites

Brute force attack on wordpress website comes from 2 ways. 1) Through “xmlrpc.php” Solution -> Add a plugin (https://wordpress.org/plugins/disable-xml-rpc/) for disabling it. Don’t do this manually by custom code because we don’t want it to be disabled completely. It is used with some plugins such as “Jetpack”. Source of solution -> https://www.hostinger.in/tutorials/xmlrpc-wordpress 2) Through “wp-login.php” …

Facebook – Dynamic Creative Ads

There is an option to create dynamic ads in Facebook.  You add several images and text options and Facebook evaluates and shows the best performing combinations. Pros: Facebook does the analysis for you to optimize. You can see how each part contributed. Cons: You give up much of the control over testing. Takeaway:  This is …

Divi Thumbnail Sizes

// Thumb sizes    ‘400×250’  => ‘et-pb-post-main-image’,    ‘1080×675’ => ‘et-pb-post-main-image-fullwidth’,    ‘400×284’   => ‘et-pb-portfolio-image’,    ‘510×382’   => ‘et-pb-portfolio-module-image’,    ‘1080×9999’ => ‘et-pb-portfolio-image-single’,    ‘400×516’   => ‘et-pb-gallery-module-image-portrait’,     ‘2880×1800’ => ‘et-pb-post-main-image-fullwidth-large’,

Set default AWS S3 Permissions to Public

By default the upload permissions for AWS S3 is private. This means that when you FTP Data onto S3, it is private and not accessible via a URL. Credit to this fix goes to: Tiffany Brown Go to the Bucket Permissions tag. Click, “Bucket Policy” Paste the following code and click save. { “Version”: “2012-10-17”, “Statement”: …