Common wordpress problems
Things I learned while developing pagume.com with wordpress
Problem 1:
if you can’t install thems locally because of the following error
“Connection Information” and asks to type FTP credentials, do the following.
Solution 1:
We can simply add the following code to our wp-config.php to let WordPress use a different filesystem method than FTP.
define(‘FS_METHOD’, ‘direct’);
Setting the ‘FS_METHOD’ to ‘direct’ will also allow you to update WordPress Core and install themes from the theme repository locally.
Problem 2:
How to get child theme path
Solution 2:
bloginfo(‘stylesheet_directory’); // will return the path