Firstly, I love this product – it is working like a dream for me. I am trying to make some tweaks in-terms of customising the search results. I have copied all of the files from the relevant area and placed them into a folder called ‘asp’. My issue is my lack of knowledge in-terms of advanced coding. What I want to do is ammend the ‘item’ div so that the post’s category is output into the class for example, post category is ‘Alert’ and this would output as <div class=’item alert etc etc’. I am stuck trying to get past ‘$r->content_type == ‘terms”. I have no idea what I’m meant to do from here or what the final code should look like for me to achieve what I need to achieve.
I just tweaked it a little and the end result returns the category ID – which is fine enough for me to set my style according to the post’s category. For the benefit of everyone else who may require the same for their project, the code I used was: