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…

Add Additional Contact Methods to User Profiles

Add Additional Contact Methods to User Profiles

By default WordPress allow authors to display some information about themselves, such as a website URL, email address, a short bio and their IM contacts, but it is missing important social media networks like Facebook, Twitter, linkedin and Google+. It’s good option to display social media profile page along with author bio because your readers…

Add Published Date & Last Modified Date in Wordpress

Add Published Date & Last Modified Date in Wordpress

Sometimes on a specific project, you have requirement to also display last modified date of pages and posts along with published date. So here is a code snippet to display both in your WordPress. Posted on <?php the_time( ‘F jS, Y’ ); ?> <?php // display last modified date $modified_time = get_the_time( ‘U’ ); $new_modified_time…