In order to use git Check git version Command: git -version If not install, add it to your server (Centos) sudo yum install git-all Create local Repository: Command: git init Add all file to your local git command: git add -u * Commit them to your local repository command git commit <file> -m “some comment”
If you need to manually insert password into database for Magento or WordPress. You can generate hash password.
echo "md5 pass: ".md5($password); //md5 hash
echo "sh1 pass: ".sha1($password); //sh1 hash
echo "magento pass: ". md5($salt.$password).":".$salt; //magento hash with salt
//for wordpress, you need include PasswordHash class.
$wp_hasher = new PasswordHash(8, true);
echo "wp(v3 & v4) pass is: ". $wp_hasher->HashPassword( trim( $password ) );
If its easier you can use our online wordpress/magento password hash generator form below: Password Salt for Magento
Editing wordpress theme on localhost is very easy and fast, but its getting tricky if you want to move your site from local environment to live server. Here is 4 step you need to follow:
Ever wondering if you could use WordPress functions in your None-WordPress site, for example, show latest post in your site footer?
if you looking for a way to create a new sidebar area, to add widget and show on different part of website(footer,header,left, right or main content section), you can use dynamic_sidebar() function.
If you are using wordpress, sometimes you need to show other pages content in another page. You can use this function in your theme’s function.php file and you can call it anywhere.