Home › Forums › CSS › WordPress search output. › Re: WordPress search output.
October 27, 2011 at 3:19 pm
#89783
Member
That should work yep, but I’d move the closing to before the last endif, as at the moment it’s within the if statement which is checking whether it’s an archive or search. If it isn’t one of those 2 then it wouldn’t close the div. Give it a go and then view your source and see whether it successfully wraps a div with a unique class around each post.