Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Recently, one of our readers asked us How to find the files to edit from a WordPress theme?
If you're new to developing WordPress themes and want to customize your theme, then you need to know which files of your WordPress theme you need to edit to apply a change to a specific location.
In this tutorial, we will show you how to easily find files to edit on a WordPress theme.
But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
Then back to why we are here.
Template file in a WordPress theme
WordPress themes control the appearance of your website. Each theme contains several template files that control the appearance of a particular section or page in your WordPress theme.
For example, the file " single.php »Controls the appearance of individual articles on your website. This is not the only file that can do it.
How to understand the structure of WordPress files? Discover by consulting this link
If your theme does not have a "single.php" file, then WordPress will look for alternative models like "index.php" to display the page.
Learn by consulting this article How to manage WordPress files and folders
Most beginners are not familiar with the template hierarchy on WordPress. This makes it more difficult to identify which files to modify when they want to customize their WordPress themes.
That said, let's see how to easily find the files to edit in your WordPress theme.
How to find the file to customize a theme
The plugin works without configuration, so there are no parameters to configure.
After activation, you must visit your website and you will notice a new menu " What the File (Which file is this?) In the user toolbar.
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
Now you just need to move your mouse over the menu item, and it will display a drop down menu showing the template files used to display that page.
Clicking on the file name will take you to the default WordPress file editor where you can edit that particular file.
However, we recommend that you do not use the WordPress file editor because it does not have a cancellation option. If you accidentally lock your website, you will need to use an FTP client to unblock the situation. that's why we always use an FTP client and a text editor to edit our files
Making real-time changes to your WordPress theme is also a bad idea. These changes will disappear when you update it.
This plugin will help you locate the theme files that you will need to copy and modify in your child theme.
Remark : This theme works for all connected users, so you will need to use it in a test environment.
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
Dropr is a premium WordPress plugin that will integrate seamlessly with your WordPress website which will use it as a media folder for your website. With this plugin, you can insert any file from the Dropbox account directly into your pages or posts.
It will also allow you to use the Dropbox account directly in the WordPress editor, which will simplify the whole process.
Discover also our 8 WordPress plugins to add a translation system on a blog
It is a friendly WordPress plugin for beginners with a very simple and clean interface. It supports all types of important files, audio, video, PDF, Excel, images and more.
2. Responsive HTML5 Music Player
Like all the other plugins on this list, this premium WordPress plugin will help you display a beautiful audio player on your website. Use the control panel to create multiple playlists and players with different settings and songs of your choice.
You can add this audio player anywhere on your website: on the sidebar, pages, articles and even footers.
CFeatures include: a generator of shortcodes, FLASH engine support for older browsers that do not support HTML5, a playlist with download option for each song, uninterrupted audio playback across web pages, multiple instances of the player on the same page and much more more.
3. Book a Place Pro
Book a Place Pro is a premium WordPress plugin with which you can set up a program for your theater, cinema or restaurant. It also provides you with an event manager and an online booking system.
This is a very easy-to-use plugin for users (who want to reserve a place), as well as for administrators (who want to create a program, add places, define prices, etc.). It was created to be as simple as possible.
How to change the sidebar side on WordPress ? Find out by consulting this link.
Find out about other recommended resources to help you build and manage your website.
- Using transparent images to create superb CTA column overlays with Divi
- How to get an email address with your WordPress hosting
- How to add accordions in your WordPress articles and pages with the Accordion's plugin
- How to fix the "file_get_contents" error on a WordPress blog
Here! That's it for this tutorial. We hope that you will be able to easily find the files to edit on a WordPress theme.
If you have suggestions or remarks, leave them in our section Comments. feel free to share this tutorial with your friends on your favorite social networks.