What files are you adding this code to? Does this prevent showing sticky posts on the homepage and instead show them as sticky posts on the category pages only?
What files are you adding this code to? Does this prevent showing sticky posts on the homepage and instead show them as sticky posts on the category pages only?