In this tutorial, I am going to show you how to easily switch between different php versions in Ubuntu 22.04. When working on software that will be used on different systems, it is of utmost importance to check backward compatibility with servers that run different versions of php. At the time of writing, the most …
Recent Posts
Blog
How to Cherry Pick a Commit from One Repository to Another in Git
Being a WordPress theme and plugin contributor, I often find myself in the position where I have to maintain multiple versions of a theme or plugin – free and premium. The so-called freemium model works well but it has a few downsides. One of them is that you need to maintain 2 codebases that share …
Read more →“How to Cherry Pick a Commit from One Repository to Another in Git”
Newspiper Theme Documentation
Video Guide: Newspiper Theme Options Installation To be able to use the theme, you need to have a self-hosted WordPress installation, running php >= 5.6 and WordPress >=6.0. It is recommended that you use php 7.4 or above and the latest version of WordPress. Table of Contents Theme options Use the theme customizer to customize …
Preslav Theme Documentation
Video Guide One: Preslav Theme Options Video Guide Two: Preslav Button Styles and Animations Video Guide Three: How to Import Demo Content Installation To be able to use the theme, you need to have a self-hosted WordPress installation, running php >= 5.6 and WordPress >=6.0. It is recommended that you use php 7.4 or above …
How to Create Masonry Layout without any JS Libraries
Masonry Layout is a beautiful way to display columns with a different height by removing extra spaces between rows. The standard 4-column grid layout is something that can easily be achieved with css flexbox or css grid. It looks something like this: While there is nothing wrong with this approach, as we see in the …
Read more →“How to Create Masonry Layout without any JS Libraries”
How to Configure Webpack with WordPress for Theme Development the Right Way
Example repo: Download here Webpack is an awesome static module bundler, based on node.js. It is widely used for developing JavaScript applications. It is a tool that is not easy to set up but comes preconfigured with many frontend application packages such as create react app or @vue/cli. If you have developed single-page applications based …
Read more →“How to Configure Webpack with WordPress for Theme Development the Right Way”
How to Combine (Squash) Multiple Commits into One in Git
See how to combine two commits into one in Git by using interactive rebase, Git bash, and Vim In our last tutorial, we showed you how to delete a commit in Git, so it does not appear in the Git history anymore. Here, we will examine a similar approach to merge different small commits into …
Read more →“How to Combine (Squash) Multiple Commits into One in Git”
How to Delete a Specific Commit in Git Bash and Vim
See how to remove commits from the Git history like a pro by using the powerful interactive rebase method. This tutorial assumes you have basic experience with Git. Sometimes you can make a commit in Git and you might later reconsider. Perhaps you made a commit that contains code changes that you do not need …
Read more →“How to Delete a Specific Commit in Git Bash and Vim”
Pliska Theme Documentation
2. Video Two: How to Import Demo Content? 3. Video Three: How to Create Mega Menu? Pliska Theme Documentation Table of Contents Theme Documentation Installation Theme Options Site identity Colors Header Image Background Image Widgets Menus Homepage Settings Header Options Header Menu Options Mega Menu Header Image Options Call to Action Buttons Header Animations Post …
Format PHP Code in Visual Studio Code (WordPress Coding Standards)
Visual Studio Code is an awesome modern free code editor and it does a great job at developing JavaScript-based applications. It has built-in support for JavaScript IntelliSense, debugging, formatting, and many other advanced language features. “Wait, I am here for the PHP part“, you will say. Well, Visual Studio Code is not only about JavaScript. …
Read more →“Format PHP Code in Visual Studio Code (WordPress Coding Standards)”