Title: iragless's Replies | WordPress.org

---

# iragless

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Document Gallery] Document galleries only showing short codes.](https://wordpress.org/support/topic/document-galleries-only-showing-short-codes/)
 *  Thread Starter [iragless](https://wordpress.org/support/users/iragless/)
 * (@iragless)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/document-galleries-only-showing-short-codes/#post-7065072)
 * Thanks Dan
 * Sorted it out.
 * This line was in .htaccess
    AddHandler application/x-httpd-php5s .php
 * Changed to
    AddHandler application/x-httpd-php54 .php
 * And the problems was fixed. Not sure how that line got there?
 * Regards
    Ian
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Pages displaying custom post type by custom taxonomy](https://wordpress.org/support/topic/pages-displaying-custom-post-type-by-custom-taxonomy/)
 *  Thread Starter [iragless](https://wordpress.org/support/users/iragless/)
 * (@iragless)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/pages-displaying-custom-post-type-by-custom-taxonomy/#post-3894533)
 * Thanks bcworkz.
 * Really appreciate the feedback.
 * I’m fairly new to wordpress development and hadn’t considered query vars even
   though I’ve used url parameters in other circumstances. I think that will do 
   exactly what I want.
 * Only downside I can see with this is having separate meta titles and descriptions
   for each taxonomy although there may be a way to overcome this with YOAST or 
   similar.
 * Regards
    Ian
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [taxonomy_exists to display alternate size featured image](https://wordpress.org/support/topic/taxonomy_exists-to-display-alternate-size-featured-image/)
 *  Thread Starter [iragless](https://wordpress.org/support/users/iragless/)
 * (@iragless)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/taxonomy_exists-to-display-alternate-size-featured-image/#post-3516666)
 * Thanks
 * I figured that might be the case. Anyway I got it to work with wp_get_post_terms()
   and then using in_array to check for the required taxonomy. Basically this in
   case it helps someone else.
 *     ```
       $term_list = wp_get_post_terms($post->ID, $taxonomy, array("fields" => "names"));
             if (in_array('Spotlight', $term_list)) {
                  ...do stuff for that taxonomy;
                 } else {
                  ...do something else;
                 }
       ```
   
 * Not sure why taxonomy_exists() isn’t working? Might have a look later and see
   if I can work it out.
 * Regards
    Ian

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