Replace Howdy Admin in WordPress Admin Bar

Replace Howdy Admin in WordPress Admin Bar

Although it’s not really a huge deal but some people might want to replace the default welcome message “Howdy, admin” in the WordPress admin bar. To replace “Howdy, admin” in WordPress admin bar, you can use this code snippet below. Using this snippet now, your welcome message will read “Welcome! admin” instead of default “Howdy,…

Redirect to Custom Page After Registration

Redirect to Custom Page After Registration

On successful registration of a user, WordPress by default shows “Registration Complete. Please check your e-mail.” message. But on a specific project/website you may want your newly registered user to display a custom registration message or you may want to redirect to custom page. In my opinion, it’s a better idea to redirect users to…

Disable Automatic Compression of JPG in Wordpress

Disable Automatic Compression of JPG in Wordpress

WordPress has built in compression for JPG images. Whenever you upload an JPG/JPEG image to WordPress media library, WordPress will automatically compress your images to 90% of the original quality, this is intended to help your pages load faster and keep file sizes smaller. But sometime it’s essential to have high quality images on your…

Add Async And Defer Attributes to JavaScript Elements

Add Async And Defer Attributes to JavaScript Elements

Add Async And Defer Attributes to JavaScript Elements – WordPress Code Snippets Categories Select categoryCategoriesCommentsFunctionsMediaOptimization & Best PracticePosts & pagesRSS FeedsSearchSecurityShortcodeSocial MediaThemesWidgetsWooCommerceWordPress AdminWordPress Config Add Async And Defer Attributes to JavaScript Elements closing tag of the Web page. The main reason for that is that script elements are fetched and executed immediately when the browser…