Automated PS script to run a FTP via Windows Task Scheduler using: Powershell.exe -ExecutionPolicy Bypass -command ".'C:path\to\SCRIPTNAME.ps1' optional argument -WindowStyle Hidden For console testing, use Set-ExecutionPolicy RemoteSigned or --bypass [sourcecode language="plain"] # Location where csv file is to be created, with results from query. $dir = Get-ChildItem -Path "PATH TO DIRECTORY HERE" | Sort-Object…
Read more
Transferring a WordPress Site
If you are needing to transfer an entire WordPress site (entire meaning EVERYTHING) than here is the plugin you need! https://wordpress.org/plugins/duplicator/ Install it, activate it. Go and make a backup/transfer of your entire site Upload the 2 files it creates, installer.php and the backup zip file to your new site Go to your new site…
Read more
Display code snippets in your WordPress Posts
A good plugin to use if you are wanting to display code snippets in your post is SyntaxHighlighter Evolved. It will very nicely display: PHP, MySQL, HTML, etc... code in a nicely formatted code box. Setup only takes about 30 seconds, than for immediate basic usage just warp any code you want in <pre> </pre>…
Read more