August 2017
Beginner
412 pages
10h 30m
English
, the functions.php file is meant to set up your theme and provide some helper functions and settings to make usage of the theme easier. Apart from this, the functions file also has many other applications that we're not going to be discussing here, as they are beyond the scope of this book. In essence, functions.php is a kind of file that allows you to perform a very wide scope of modifications. Even though there is a set of standard things that should always be taken care of when dealing with a functions file, no one restricts you from doing virtually anything you wish. For instance, you can create a classic PHP function such as my_function_name() and then call it from within one of your template files (such as
Read now
Unlock full access