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…?
take a look here:
http://zeevm.co.il/catid.jpg
dose this helps you ?
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…
rigemo56, did you take a look at the IMG i postd for you ? here:
http://zeevm.co.il/catid.jpg
this is how you can tell what is the ID for the cat
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.
Will this still work with the recent update to Notice Board? If so, how do I install it?
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/
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″]