Title: panicfomo's Replies | WordPress.org

---

# panicfomo

  [  ](https://wordpress.org/support/users/panicfomo/)

 *   [Profile](https://wordpress.org/support/users/panicfomo/)
 *   [Topics Started](https://wordpress.org/support/users/panicfomo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/panicfomo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/panicfomo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/panicfomo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/panicfomo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/panicfomo/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yada Wiki] Query the category of a wiki page](https://wordpress.org/support/topic/query-the-category-of-a-wiki-page/)
 *  Thread Starter [panicfomo](https://wordpress.org/support/users/panicfomo/)
 * (@panicfomo)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/query-the-category-of-a-wiki-page/#post-13002893)
 * That’s what I was looking for. Thank you so much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yada Wiki] Query the category of a wiki page](https://wordpress.org/support/topic/query-the-category-of-a-wiki-page/)
 *  Thread Starter [panicfomo](https://wordpress.org/support/users/panicfomo/)
 * (@panicfomo)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/query-the-category-of-a-wiki-page/#post-13001111)
 * This code will be executed by XYZ PHP Code plugin. (it allows to run PHP code
   in random places by wrapping it in shortcodes)
 * This code should be executed in the context of a wiki page. The PHP shortcode
   will be inserted in a content template in Impreza theme. [https://themeforest.net/item/impreza-retina-responsive-wordpress-theme/6434280](https://themeforest.net/item/impreza-retina-responsive-wordpress-theme/6434280)
 * A shortcode would display a page block (some HTML output) in the theme.
 * Basically, I need to know how to check if that wiki page belongs to a certain
   wiki category.
 * `if ( wiki_category == 'X' ) echo 'Y';`
 * I can take it from there.

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