Currently in a work-study program, I propose you a series of articles of return of experience and discovery of the various CMS that I could use for customer projects or our website.
For a future project, it was essential that I dive into the discovery of the Wordpress tool. Having never used this tool, I had to start training myself on the basics and the use of Wordpress (latest version 5.8.1).
WordPress is what we call a CMS, or Content Management System, a software that allows you to design websites, manage their content, publish them and update them. It is a content management system under open source license, making it accessible to all.
Docker, Docker-compose, Symfony CLI, PHP >= 7.0, MySQL/MariaDB
To start, I had to download the latest version of Wordpress available (5.8.1)
Once installed, I unzipped my archive (zip or tar.gz ) and opened the folder with the IDE of my choice (in my case, it will be PHPStorm).
1) I had to rename the file wp-config-sample.php to wp-config.php located at the root of the project.
2) And then, go to this file and configure my database by changing these 4 lines with the configuration of my choice :
define( 'DB_NAME', 'wp_test' );
define( 'DB_USER', 'root' );
define( 'DB_PASSWORD', 'root' );
define( 'DB_HOST', '127.0.0.1:3310' );
I create a docker-compose.yml file at the root of the project and I add the following lines inside the file, modifying them according to my database configuration :
Then, I run the following command on my terminal to initialize my database through the file docker-compose.yml :
docker-compose up -d
To finish, I launch my site through Symfony Client using the following command :
symfony serve -d
I go to the URL https://127.0.0.1:8000 and I came across this page of information for my site :
I filled in the fields of this form and then clicked on the "Install Wordpress" button. The login and password correspond to the connection to the back-office. These fields can be modified later in the back-office.
The Back-Office is my working interface, not visible to visitors, which allows me to intervene on my Front-Office and thus modify my website.
The access to the Back-Office is done via the following URL: https://127.0.0.1:8000/wp-admin which will redirect me to the dashboard of my site :
The menu of Wordpress can be scalable because I can install modules or extensions to add features to my website. Let's see in more detail the usefulness of each of these elements :
The Front-Office designates my website: the interface of my site visible by all visitors. Its modification is done through the back-office.
Furthermore, I have the possibility to customize my website on the front-office by clicking on "Customize" located on the top menu:
It is a more in-depth customization of my website (Menus, Widgets, Miniature logo of the site, Background image, Colors etc..). I also have the possibility to modify my website in cross platform (Mobile, Tablet, Computer) by clicking on the 3 icons (bottom left).
Once, my modifications are done, I must not forget to click on the "Publish" button to save my modifications.
In my opinion, the Wordpress CMS has more advantages than disadvantages on its use and its ability to create websites. I added you some of them:
However, any tool does not have only advantages, each one has its own flaws. In the case of Wordpress, I put you some defects :
From my point of view, Wordpress is a simple and efficient CMS that allows me to design a dynamic website in general or my own site and that does not require, in my opinion, a great notion of programming. I find that it is fast to take in hand and the documentation is explicit. Otherwise, if needed, I think that the video tutorials are rich and very complete, allowing a more in-depth learning and various possibilities to explore. If you are a beginner and you don't have any programming skills to create your own website, try Wordpress! An easy to use and constantly evolving tool to learn how to build and create your website.
If you want to discover more about the Wordpress tool and how to use it to make your own website, I recommend that you consult the Wordpress documentation
Or if you like live learning, I recommend this video that allowed me to appreciate the use of Wordpress and its many features :
In a future blog post, we will see the Bolt tool which is part of the same type as Wordpress. What is Bolt? Is it a good alternative to Wordpress? What makes it better or worse than Wordpress?