✴︎ Welcome
to my
Blog.
—20.26
Some interesting stuff…
-
Day 14: Git Remastered & WooCommerce
What is Git Rebase Interactive? Git rebase interactive (git rebase -i) lets you rewrite commit history in a flexible way. With it, you can: How to Use Git Rebase Interactive Example Workflow Here’s a simple workflow example to squash the last three commits into one: Some other similiar commands: 1. git cherry-pick git cherry-pick allows…
-
Day 13: Testing & Setting Up
Setup WP-Unit Tests: Write Sample Unit Tests: Create Test File: Create a directory named tests in your plugin/theme root. Create a file named test-sample.php inside the tests directory. Create a Test Class: Example class in Run Tests: Execute tests using PHPUnit: vendor/bin/phpunit or just phpunit if you have global composer. Theme Testing: Plugin Testing: Best…
-
Day 12: MultiSite & PHP Unit Testing
Multisite / Network WordPress allows you to set up a network of websites using the same core files but with different login credentials and separate dashboards. Each site is independent of each other but can be managed from one place by the Network Admin (aka Super Admin). Key points: To enable Multisite, you need to…
-
Day 11: WordPress – Customization & FSE
WordPress Customization This built-in tool allows you to make changes to your site’s appearance and see a live preview of your updates. Key Features of the WordPress Customizer: What are Widgets? WordPress widgets add content and functionality to the widget area. The widget area is a pre-defined area by the theme, typically located in the…
-
Day 10: Introduction To WordPress & PHP DocString Comments
What is WordPress? WordPress is a free and open-source web content management software (CMS) that can be downloaded and installed on one’s own server. With WordPress, you can create various types of websites, from a simple personal blog or portfolio site to a full-fledged eCommerce website or a news magazine serving billions of web pages each…