Debugging Mysterious PHP Addition
Debugging Mysterious PHP Addition
Debugging Mysterious PHP Addition
I believe the difference is “Not in stock” relates to products that can be backordered, and “Out of stock” means sold out, with no plans for getting more. If you are not managing inventory (that is, you manually set a product to Out of Stock when it sells out), then you need to ensure that … Read more
On the Live website, Go to WordPress Dashboard and select Tools / Export Check Posts, Pages and Media. WordPress will export an XML with the data. On the Production website, Go to WordPress Dashboard and select Tools / Import / WordPress. Run the installer and import XML data form Live website.
Show shipping class on product admin page
WordPress product image sets smaller than before
99.99% chance that you configure wordpress with wrong database details. make sure you are using correct database details in wp-config.php file /** The name of the database for WordPress */ define(‘DB_NAME’, ‘database_name_here’); /** MySQL database username */ define(‘DB_USER’, ‘username_here’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘password_here’); /** MySQL hostname */ define(‘DB_HOST’, ‘localhost’); some possibilities are … Read more
Best Practice #1 One of the best practices is to let the PHP process to run under a different user (in your case: jdoe, jsmith, etc) than the web server user (in your case: httpd) and let only these users have the write permission. Of course, your web server may still need read permission for … Read more
You can use gulp zip to do that. Take a look here https://www.npmjs.com/package/gulp-zip. This will let you zip up your theme with a terminal command and you can ignore whichever folders you want.
The correct approach is to use HTTPS everywhere, and to migrate to SSL properly: remove the Really Simple SSL plugin change your sites URL option to the https version search replace your database so all content uses the https URL via WP CLI or a search replace tool ( do not use an SQL query … Read more
Check your production site’s wp-config.php file for one or both of these lines: define( ‘WP_HOME’, ‘https://example.com’ ); define( ‘WP_SITEURL’, ‘https://example.com’ ); …and set them as appropriate if they exist. These constants will override the settings in the database if they’re present. See Editing wp-config.php for details.