Title: Multiple notice categories
Last modified: August 24, 2016

---

# Multiple notice categories

 *  [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/)
 * hi. i improved your plugin to be able to create and display multiple notice categories…
   
   i added a new taxonomy named categories and added a shortcode that pulls the 
   category ID and display the posts under that category. So that the new shortcode
   is: [notice-board class=”table-bordered” cat_id=”6″]
 * please see the new code here:
    [https://jsfiddle.net/ea7p0eff/](https://jsfiddle.net/ea7p0eff/)
 * i am referring to the file msnb-notice-board.php
 * [https://wordpress.org/plugins/notice-board/](https://wordpress.org/plugins/notice-board/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [rigemo56](https://wordpress.org/support/users/rigemo56/)
 * (@rigemo56)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959049)
 * Hi…
 * I’m new to WordPress and have been looking for a way to add categories to my 
   notices. This solution looks ideal, however, I can’t get it to display anything.
 * I’ve set up some categories and assigned notices to some of these categories,
   but whatever I put in **cat_id** I simply get the message **“No notices yet.”**.
 * So, how do I find the **cat_id**…?
 *  Thread Starter [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959050)
 * take a look here:
    [http://zeevm.co.il/catid.jpg](http://zeevm.co.il/catid.jpg)
 * dose this helps you ?
 *  [rigemo56](https://wordpress.org/support/users/rigemo56/)
 * (@rigemo56)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959051)
 * I’ve kind of solved my own problem by peeking into the database and using the**
   term_id** field. This now displays categories just as I want them, so thank you.
 * So, my next question is, would it be possible to display the **cat_id** within
   the WordPress admin ‘Categories’ page (…or is it already there and I’m missing
   it…?)
 * Thanks…
 *  Thread Starter [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959057)
 * rigemo56, did you take a look at the IMG i postd for you ? here:
    [http://zeevm.co.il/catid.jpg](http://zeevm.co.il/catid.jpg)
 * this is how you can tell what is the ID for the cat
 *  [rigemo56](https://wordpress.org/support/users/rigemo56/)
 * (@rigemo56)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959058)
 * Yes…and thank you for your quick response.
 * I didn’t spot this at first as I use Chrome as my main browser. As this has a
   shortened address bar it does not display the full URL unless you scroll across.
 * This is proving very useful…thanks again.
 *  Thread Starter [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959059)
 * good luck 🙂
 *  [joneseu](https://wordpress.org/support/users/joneseu/)
 * (@joneseu)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959188)
 * Will this still work with the recent update to Notice Board? If so, how do I 
   install it?
 *  Thread Starter [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959199)
 * joneseu, it will not work on the new version because i am not the plugin developer.
 * i have added a code here:
 * [https://jsfiddle.net/ea7p0eff/](https://jsfiddle.net/ea7p0eff/)
 * you need to replace this code insted of all the code in the file:
    msnb-notice-
   board.php
 * and then you will be able to use the category option i have added using this 
   shortcode:
    [notice-board class=”table-bordered” cat_id=”6″]

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Multiple notice categories’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/notice-board.svg)
 * [NOTICE BOARD](https://wordpress.org/plugins/notice-board/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/notice-board/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/notice-board/)
 * [Active Topics](https://wordpress.org/support/plugin/notice-board/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/notice-board/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/notice-board/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/multiple-notice-categories/#post-5959199)
 * Status: not resolved