Title: How do I code several variables
Last modified: September 1, 2016

---

# How do I code several variables

 *  Resolved [matstaffs](https://wordpress.org/support/users/matstaffs/)
 * (@matstaffs)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-code-several-variables/)
 * Dear Sir/Madam
 * So far I have added the shortcode for 3 columns which works fine
 * For 3 columns: [knowledgebase-three]
 * But how do I code the following variables to work please?
 * For 3 columns: [knowledgebase-three]
    Exclude categories the name of srftkb
 * I have tried this and it did not work
 * [knowledgebase-three exclude=srftkb]
 * [https://wordpress.org/plugins/very-simple-knowledge-base/](https://wordpress.org/plugins/very-simple-knowledge-base/)

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

 *  Plugin Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-code-several-variables/#post-7671778)
 * Hi,
 * You should exclude category by ID (not name or slug).
 * Example to exclude categories 1 and 2:
 *     ```
       [knowledgebase-three exclude=1,2]
       ```
   
 * If you hover the category name in your dashboard, you will notice the full category
   link, which also contains the ID.
 * Guido
 *  Thread Starter [matstaffs](https://wordpress.org/support/users/matstaffs/)
 * (@matstaffs)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-code-several-variables/#post-7671800)
 * Thank you so much, I just could not see the ID anywhere until now I know to hover
   over it 🙂
 *  Plugin Author [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-code-several-variables/#post-7671801)
 * You’re welcome!
 * Guido

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

The topic ‘How do I code several variables’ is closed to new replies.

 * ![](https://ps.w.org/very-simple-knowledge-base/assets/icon-256x256.png?rev=1415756)
 * [VS Knowledge Base](https://wordpress.org/plugins/very-simple-knowledge-base/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/very-simple-knowledge-base/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/very-simple-knowledge-base/)
 * [Active Topics](https://wordpress.org/support/plugin/very-simple-knowledge-base/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/very-simple-knowledge-base/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/very-simple-knowledge-base/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Guido](https://wordpress.org/support/users/guido07111975/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-code-several-variables/#post-7671801)
 * Status: resolved