WordPress tutorial: Extensions

When you create a theme for a site it can be interesting to separate certain functionalities in a plugin so that you can keep them when changing the theme or to make them reusable from project to project. A plugin works like a theme and can use all the functionality that we have seen so far.

To create a plugin just create a new folder in the folder wp-content / plugins and to place inside it a php file of the same name containing the information in the form of comments ....

Read more