Title: Dan's Replies | WordPress.org

---

# Dan

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [taxonomy-$taxonomy.php template issues](https://wordpress.org/support/topic/taxonomy-taxonomyphp-template-issues/)
 *  Thread Starter [Dan](https://wordpress.org/support/users/danrip/)
 * (@danrip)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/taxonomy-taxonomyphp-template-issues/#post-4370588)
 * FIXED! 🙂 *happy-dance* You definitely put me on the right road with that one–
   thank you so much!
 * Once I’d found get_term_link too, it all started coming together. Here’s where
   I ended up:
 *     ```
       $terms = get_terms('triptypes');
       	foreach ($terms as $term) {
       	$term_link = get_term_link( $term, 'triptypes' );
       	if( is_wp_error( $term_link ) )
               continue;
       	$triptype_featured_images = wp_get_attachment_image_src( get_post_thumbnail_id( ), 'triptype-big-featured' );
       	echo '<article class="' . implode( ' ', get_post_class() ) . '"  itemtype="http://schema.org/ItemList" itemscope="itemscope">';
       	echo '<h2 class="entry-title"><a href="'. $term_link .'" title="'. $term->name .'">'. $term->name .'</a></h2>';
       	echo '<a href="'. $term_link .'" title="'. $term->name .'" class="location-hover">';
       		the_excerpt();
       	echo '</a>';
       	echo '<img class="aligncenter" src="'. $triptype_featured_images[0] .'" alt="'. get_the_title() .'"></a>';
       	echo '</article>';
       ```
   
 * ..and once I’d flushed the permalinks, voila!
 * Thanks again, your help was invaluable!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [taxonomy-$taxonomy.php template issues](https://wordpress.org/support/topic/taxonomy-taxonomyphp-template-issues/)
 *  Thread Starter [Dan](https://wordpress.org/support/users/danrip/)
 * (@danrip)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/taxonomy-taxonomyphp-template-issues/#post-4370576)
 * Ahh, thank you WPMU DEV!! You rock!
 * Actually, I had used get_terms(), but I can see now that I’d dropped the crucial‘
   $term->name’ in my attempts to merge the query into the way the rest of the page
   is displayed, namely:
 *     ```
       $triptype_featured_images = wp_get_attachment_image_src( get_post_thumbnail_id( ), 'triptype-big-featured' );
       			echo '<article class="' . implode( ' ', get_post_class() ) . '" itemtype="http://schema.org/ItemList" itemscope="itemscope">';
       				echo '<h2 class="entry-title"><a href="'. get_permalink() .'" title="'. get_the_title() .'">'. get_the_title() .'</a></h2>';
       				echo '<a href="'. get_permalink() .'" title="'. get_the_title() .'" class="location-hover">';
       					the_excerpt();
       				echo '</a>';
       				echo '<img class="aligncenter" src="'. $triptype_featured_images[0] .'" alt="'. get_the_title() .'"></a>';
       			echo '</article>';
       }
       }
       }
       ```
   
 * Can I ask – where would I drop $term->name into this? I’m using it from elsewhere
   in the site, and want to keep the layout uniform.
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Need to hide WooCommerce 'shop' page to non members](https://wordpress.org/support/topic/need-to-hide-woocommerce-shop-page-to-non-members/)
 *  [Dan](https://wordpress.org/support/users/danrip/)
 * (@danrip)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/need-to-hide-woocommerce-shop-page-to-non-members/#post-3143011)
 * Just had the same issue while using the Groups plugin to the same end. Posted
   a comment on the author’s site and he produced a workaround:
 * [http://www.itthinx.com/2013/02/12/how-to-hide-the-woocommerce-shop-page/](http://www.itthinx.com/2013/02/12/how-to-hide-the-woocommerce-shop-page/)
 * To the OP, if you can replicate in Groups what you’re doing in Member Access,
   this might be a solution for you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Members - Membership & User Role Editor Plugin] [Plugin: Members] use with woocommerce to make a trade section](https://wordpress.org/support/topic/plugin-members-use-with-woocommerce-to-make-a-trade-section/)
 *  [Dan](https://wordpress.org/support/users/danrip/)
 * (@danrip)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-members-use-with-woocommerce-to-make-a-trade-section/#post-3026552)
 * Hey Candell,
    If you’re still looking to solve this and you’re not locked in 
   to using Woocommerce, Cart66 will do it out of the box.
 * HTH
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Audio Player] [Plugin: Audio Player] How to make Audio player being played on homepage only](https://wordpress.org/support/topic/plugin-audio-player-how-to-make-audio-player-being-played-on-homepage-only/)
 *  [Dan](https://wordpress.org/support/users/danrip/)
 * (@danrip)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-audio-player-how-to-make-audio-player-being-played-on-homepage-only/#post-2417991)
 * [@tungjacob](https://wordpress.org/support/users/tungjacob/) – use a conditional
   tag so the function only fires on the homepage – `if(is_front_page()` should 
   do the trick.

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