November 22, 2024

Codelobster PHP IDE – How to create a blog on WordPress


Content management system WordPress – it is the best choice for those who have decided to start your own personal blog or portfolio site.

WordPress actively used by web studios and independent developers, there is a large number of free plug-ins and high-quality design templates for it.

There is an opinion, that it is very difficult to create and maintain large-scale projects by WordPress, as this can cause performance or security problems. But it is too exaggerated.

Does this mean that WordPress is not suitable for corporate websites and e-commerce sites? No, of course, since such problems may arise when working with any other CMS if you select the wrong approach to the implementation of the technical part of the project.

Everything depends on the programmer’s skills, and to avoid problems with scaling and support, you can start to write a well-documented code.

For each webmaster is important the choice of tools to work to quickly and efficiently add and edit CMS functionality to fit your needs.

Specifically, in order to deal with WordPress, I chose a convenient and light to mastering development environment – Codelobster PHP IDE.

Installing the WordPress using Codelobster Wizard

An interesting and useful feature of my IDE is the ability to automatically deploy the project and start working with WordPress in just a few minutes.

We do not need to look for the official website on the Internet and download the latest stable version of CMS, all care about creating and configuring the site incurs the IDE.

So, let’s begin. We will need the HTTP Apache server and the MySQL database server, I use in this article the set of tools for web development XAMPP.

Run Codelobster and go to the main menu. Then select the menu item “File” -> “New” -> “Project”.

Now we need to fill in the fields in the dialogue box. Select the type of project to create – “Create a blank WordPress site”.
Page-2-Image-1

Immediately we come up with a project name and enter it in the “Name of the project” field. Choose the path to the project, place it in a directory on the local server for shared files.

As a result, Codelobster creates a folder named “wordpress-blog” in the directory “htdocs” of Apache server, and we will be able to manage a website using the URL – “http://localhost/wordpress-blog/”.

Click “OK” and go on.

The next dialogue box – the basic configuration of access to the database server. We must enter the name of the database, as well as the correct username and password for MySQL, for the IDE could create and fill correctly site database for installation in the CMS.
Page-2-Image-2

Click “Next” button.

At this stage, you can enter the address of the remote MySQL server, but our server is running on the local computer, so you can not change anything and go to the next dialogue window.

Now we have to configure our blog. We introduce the name of the site, log in and admin password, as well as e-mail. These data will be used to log in to the admin panel of the blog and management.

If the installation is carried out on remote hosting rather than on the local server, be sure to note the checkbox “Public”, if you want to make enabled an indexing of the site by search engine robots.

We click the “Finish” button and wait until Codelobster installs WordPress.

The site is installed and the project opens in the IDE, you can select files to edit in the left panel of the program.

Let’s check how our site works – enter the URL “http://localhost/wordpress-blog/” in your browser.
Page-3-Image-3

As we can see, the site is working fine!

We pass on the link “http://localhost/wordpress-blog/wp-login.php”, enter the administrator username and password to log into the admin part.
Page-3-Image-4

Now we can manage our site and change the settings, change the subject, for example, or create a new post.

We return to the IDE again, for little editing of our site. Let’s open the header.php file and add a logo instead of the site header.
Page-4-Image-5

The instant hints will help us to deal with the purpose of the set of functions, for this you just need to put the cursor on the item of interest.

Look for the code string “<?php bloginfo ( ‘name’); ?>” And delete it.

Instead of deleted snippet of code paste the HTML tag ‘<img src = “/wordpress-blog/wp-content/themes/twentysixteen/images/codelobster-logo-1.jpg” />’, as in the image below.
Page-5-Image-6

The value of the attribute “src” contains the path to our logo. Now save the changes – press the key combination Ctrl + S.

Let’s see what we have achieved. Open a browser to “http://localhost/wordpress-blog/” and refresh the page.
Page-5-Image-7

Wonderful! After we decorated our new blog by adding the logo, we can think about further improvement of the site.

Codelobster PHP IDE has all the necessary tools, not only for programming in PHP but also to edit HTML markup, CSS styles and JavaScript.

So, you can now change the font colour or add a background image. It all depends on your creativity and imagination.

As the Founder of SocialPositives.com and AndroidConnections.com, Mohammed Anzil has demonstrated an unmatched passion for keeping readers informed about the latest Social Media, Android developments and innovations. Their keen insights and in-depth knowledge have made them a trusted source for tech enthusiasts worldwide.