WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Category Icon Plugin Updated Incorrectly - Now ALL Icons are Large. (2 posts)

  1. Termato
    Member
    Posted 1 year ago #

    Instead of following the directions for updating the Category Icon plugin, one of the developers for the website accidentally updated it without disabling the plug in.

    Now our page is displaying the Large Icons where the Small Icons are supposed to be.

    Where the Large Icons are, they are displaying the small Icons.

    I have looked through the plug in files and they appear to be fine. I even backed up the version, reverted it back to an earlier one to see if that was the problem.

    I am assuming that the problem is in the actual page where the icons are being displayed.

    Can anyone help with this issue?

    To temporarily fix this problem we have set all Icons to small (On the image upload)

    Thank you for your help!

  2. Termato
    Member
    Posted 1 year ago #

    I fixed this problem by going to the functions.php file.

    The default setting for the new Icons were reset to small=false.

    I had to add in to every function calling get_cat_icon(); the variable of small=true. There were other variables inside of the function call so I just added the small=true to EVERY instance of it in the functions called by the page which was having the problem.

    This solved the issue. Hope this helps anyone who runs into the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic