December 2017
Beginner
458 pages
7h 52m
English
In this section we will style our widgets. In our photogenik theme folder, we will create a new folder called widgets. Inside the widgets folder, we will create a new file named class-wp-widget-categories.php.
Now we will go into the core widgets folder, which is present in the wp-includes folder. Open the categories widget file called class-wp-widget-categories.php and copy-paste its code into the file that we have created:

Now, in the code shown in the preceding screenshot, we will change the class name. Remember in our functions.php file, we called this class WP_Widget_Categories_Custom, so that's what we want ...
Read now
Unlock full access