-
Replace URL during migration
If the target server has wp-cli installed, you can use the following command. The “–dry-run” makes sure no changes would be made, so you can do a test run first. When you are ready to make the replacement, simply remove the “–dry-run” and run the command again. If you have no ssh access or wp-cli […]
-
“Sticky” in Listing Grid
“Sticky” by default is only available for “post” type. When we want to do it for CPT, the common suggestion is to create a new field for that purpose, but that also mean you will have retrospectively add a value to all posts existed before you add the field as well, because of how SQL […]