Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Block categories by default or always?

edited October 2007 in Vanilla 1.0 Help
Hi gr8 ppl overhere. I really badly need to know is there a way to block posts from certain categories from appearing on front page? I tried to use "Category Hider" code snippet by wallphone, but it hides posts in that category as well, and I need it to hide only from frontpage. Thank you in advance.

Comments

  • Options
    There are two places in the code that you need to put the category IDs... the one near the end of the line that begins with 'if' keeps them from getting blocked when going to the category directly.
  • Options
    That did a trick, thank you soooo much...

    P.S. just anyone else will need it:

    There are two array('X' 'X') s there, you should change both of them.


    Say, Wallphone, why dont you pack that up and put in extensions? it would make nice addition, very usefull plugin.
This discussion has been closed.