In this article, we will add the output of our car and all the fields we created in the last article. Connecting scripts Let's start by creating the assets folder at the root of our project and copying there all the files that
In this article, we'll look at how to create a Custom Post Type, Custom Taxonomy, and fields for the Auto page. Creating a Custom Post Type Open the file AddCPT.php The first thing we need to add to the init function add_action( 'init', [ $this,
Development environment. We will create a car listing plugin. t will create an opportunity to turn your site into an entire car dealership.
When solving problems from blogging, which was the main specialization of WordPress 18 years ago, before opening a multi-vendor marketplace and deploying an ERP system, you can do without a single line of code, which does not eliminate immersion in business
WordPress Coding Standards(WPCS) the list of PHP_CodeSniffer (PHPCS) ruleset (sniffs) to check your code inside WordPress. It can improve your code quality and adhere to basic code conventions for WordPress. Do you work in a team or just want to upgrade a code quality? Then
WordPress in the latest version 5.5.3 gives a 404 error when trying to enable the newly released PHP 8. Why? Officially, WordPress will only be compatible with PHP 8 starting with version 5.6, which is scheduled for December 8, 2020. The RC
What we need: Access to the server with sshInstalled on the server WP-CLI How to install WP-CLI on the server? curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.pharphp wp-cli.phar --info (should output the WP-CLI version)chmod +x wp-cli.pharsudo mv wp-cli.phar /usr/local/bin/wp Step-by-step instructions on how to quickly transfer a site. When
Where to start and why do you need it? You need to install Composer locally, here's a step-by-step guide on how to do it: In the terminal run the command curl -sS https://getcomposer.org/installer -o composer-setup.php sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer composer -v If