In a previous post, I described how to do this with the help of another plugin : Page Category Plus, but this plugin does not exist anymore, so here is another way to do that.
I’ll use the theme “lightword” for this how to. There is 2 parts :
1. Assign a category to a page
When you’re editing the page, go to the Custom Fields, and add : caticons_page as the key, and in the value field, enter the ID of the category to which the icon is assigned to. It’s like assigning a category to a page.
The icon is assigned to the category ID 4
Use the Custom Fields to display a "Page Icon"
2. Use the get_cat_icon tag to display the icon
In the page.php file, after this line : Continue reading