Posted On April 18, 2019

Methods to Embed JavaScript Codes into WordPress

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Methods to Embed JavaScript Codes into WordPress
  1. Insert Headers and Footers Plugin – automatically apply script site wide
  2. Shortcoder Plugin – make script available site wide, but apply only when called within pages
  3. Code Embed – similar to Shortcoder. Create Custom Fields with snippets that can be inserted into individual posts
  4. Manually add codes into functions.php, header.php, and footer.php

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Perform Windows Discovery of Services, Connections, and Security Settings

# windowsDiscovery.ps1 function checkSpectreVulnerability($computer=$env:computername){ $command={ $patchedVersion="10.0.14393.2842" $actualVersion=(Get-Item C:\Windows\system32\mcupdate_genuineintel.dll | select VersionInfo).VersionInfo.ProductVersion $intelDllPatched=[version]$actualVersion -ge [version]$patchedVersion <#…

Basic CSS: Size Your Images

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"><style>.red-text {color: red;}h2 {font-family: Lobster, monospace;}p {font-size: 16px;font-family: monospace;}</style><h2 class="red-text">CatPhotoApp</h2><main><p class="red-text">Click here…

PowerShell: check whether the current user is a member of Domain Admins

# short snippet to check whether the currently login user is a domain admin$CurrentUser =…
Other project: DragonCoin.com