Osclass Support Forums

General osclass questions => Plugins => Topic started by: dosplatanus on November 24, 2021, 03:03:21 PM

Title: Category Icon plugin. Sigma theme.
Post by: dosplatanus on November 24, 2021, 03:03:21 PM
I have installed the above plugin and am using the 'Sigma' theme. I need to add a little code to the category loop in the relevant php file. Which php file holds the category loop and which installed folder is it in. Screenshot attached as to what needs to be done.
Title: Re: Category Icon plugin. Sigma theme.
Post by: MB Themes on November 24, 2021, 04:20:00 PM
@dosplatanus
Take a look to search.php located in oc-content/themes/sigma/
Title: Re: Category Icon plugin. Sigma theme.
Post by: dosplatanus on November 25, 2021, 11:47:47 PM
Thanks for the response. It was not in search.php but just by chance I discovered it in main.php whilst looking for something else. I installed the code snippet deleting the original. Icons now position fine but the categories no longer hook into the category hyperlink which was a feature of the original code. This is frustrating but perhaps not insurmountable when I have time to discover where the hyperlink hook code is.