Unable to Select Template Category

Hello, I have template categories set up but the category buttons do not toggle the categories at all. In fact, no matter which button is pushed, “ALL” remains selected. Any ideas?

  • Kasia Swiderska
    • Support nomad

    Hello Jason,

    Please check Minification in Hummingbird – there are some JS errors on that site that I believe are preventing category selection from working.

    Not every theme and plugin plays nicely when its JS files are “touched” – by that I mean minified, combined and moved. And Minification can do that.

    So next step is to disable minification, combination and move files to original position

    [attachments are only viewable by logged-in members]

    After that category selection should start working correctly. And from that point you can start enabling again those options for each file – and see if that causes problem with site. If you see that one file breaks site, revert changes for it and move to next file.

    Let me know if this will help.

    Each site is different – there is no one general configuration that would work for every site, so testing is required.

    kind regards,

    Kasia

  • Jason
    • The Incredible Code Injector

    Hi Kasia,

    Thanks for the suggestion, I disabled the hummingbird options but the problem is still there. I’m deactivating plug-ins now to see if there’s a compatibility issue somewhere. I’ll update the thread when I’m done.

    Thanks

  • Nithin Ramdas
    • Support Wizard

    Hi Jason,

    Hope you are doing good today. :slight_smile:

    I checked your website, and I was able to notice the following error in the console:

    Uncaught TypeError: Cannot read property 'top' of undefined

    On giving a closer look, the above error is related to the file being called from the /uploads folder, ie : yourWebsiteURL.com/wp-content/uploads/2017/01/40d55c03cca3b423a553f7abc3048fd6.js

    Not sure how that file is being called, it could be from your theme, or either from one of the plugins. Since it’s a live site, I didn’t switch to a default theme, could you please check whether your current theme is calling this script, by switching to a default WordPress theme?

    If yes, and the script isn’t require, you can delete it. Please do let us know how that goes, so that we could give a closer look, if needed. Have a nice day. :slight_smile:

    Kind Regards,

    Nithin

  • Jason
    • The Incredible Code Injector

    Hi Nithin, Thanks for letting me know about that. I switched the theme and it worked after switching but deleting that file had no effect.

    EDIT: Removing it disabled the Free signup function on the pro-sites page.