Search Result for: Development Category

Articles

Git Revert

Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes. git revert
Read More

Create a directory

Use the following code to create a directory in
Read More

Remove or delete a file or directory

remove a file $ rm filename.txt remove a directory or folder $ rm -rf folder
Read More

Adminer an alternative to clunky old PhpMyAdmin

Check out Ad-Miner this is the way to go when you quickly and easily want to access you SQL Files.
Read More

Merging a pull request using BitBucket

Used when a developer has pushed some code upstream and wants to merge with yours or the master branch. First, you will be notified that someone has made a pull request. In your
Read More

Making a pull request using BitBucket

This is required if you want to push your code upstream to a master repo. Go to your repo and ‘Create a pull request’ Then make sure you have selected the branch you
Read More

ACF Displaying a select field

To display field valuses use this code $field = get_field_object('field_name'); $value = get_field('field_name'); $label = $field['choices'][ $value
Read More

Push updates

git push origin
Read More

Change the remote URL / URI

If you are updating or changing a repository that already has an existing URI, use the following
Read More