Ensure CSS or JS is fresh on each save

function my_scripts_and_styles(){ $cache_buster = date(“YmdHi”, filemtime( get_stylesheet_directory() . ‘/style.css’)); wp_enqueue_style( ‘main’, get_stylesheet_directory_uri() . ‘/style.css’, array(), $cache_buster, ‘all’ ); } add_action( ‘wp_enqueue_scripts’, ‘my_scripts_and_styles’, 1);

CentOS 7 Notes

Common services started from the command prompt https://www.liquidweb.com/kb/restarting-services-from-the-command-line/ When all services are down it’s probably because the firewall service needs to be started systemctl enable firewalldsystemctl start firewalldsystemctl status firewalld https://www.liquidweb.com/kb/how-to-start-and-enable-firewalld-on-centos-7/ How to start CentOS Web Panel service cwpsrv statusservice cwpsrv start https://www.plothost.com/kb/services-centos-web-panel/ Adding users with root privilatge and no passwords https://unix.stackexchange.com/questions/174780/centos-7-add-new-user-with-root-privileges Deleting files and […]