Title: clecocq's Replies | WordPress.org

---

# clecocq

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dave's WordPress Live Search] Underscore Undefined When Using Custom Theme](https://wordpress.org/support/topic/underscore-undefined-when-using-custom-theme/)
 *  [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/underscore-undefined-when-using-custom-theme/#post-4983250)
 * Ok I found something, changing $wp_query to another name (for example I used 
   $wp_query_related) made it working for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dave's WordPress Live Search] Underscore Undefined When Using Custom Theme](https://wordpress.org/support/topic/underscore-undefined-when-using-custom-theme/)
 *  [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/underscore-undefined-when-using-custom-theme/#post-4983249)
 * Hi,
 * I have excatly the same problem while adding the code below in my template.
 * If I remove the code, everything is working fine. Any idea?
 *     ```
       <?php echo _e( "Goes well with...", "shiseido" ); ?><br/><br/>
   
       		<?php
       		$postperpage = 5;
       		$paged = 1;
       		$type = array('shiseido_products');
       		$taxonomy = 'shiseido-category';
   
       		$args=array(
       			'post_type' => $type,
       			'post_status' => 'publish',
       			'paged' => $paged,
       			'posts_per_page' => $postperpage,
       			'ignore_sticky_posts'=> 1,
       			'post__not_in' => array(get_the_id()),
       			'tax_query' => array(
       					array(
       						'taxonomy' => $taxonomy,
       						'field' => 'id',
       						'terms' => array($in_cats),
       						'operator' => 'IN'
       					)
       				)
       		);
   
       		$temp = $wp_query;
       		$wp_query = null;
       		$wp_query = new WP_Query($args);
       		?>
   
       		<?php if ( $wp_query->have_posts() ) { ?>
       			<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); ?>
       				<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
       					<?php $category = get_the_category_bytax($post->ID, 'shiseido-line'); echo $category[0]->cat_name; ?><br/>
       					<?php the_title(); ?><br/>
       					<?php
       					$rows = get_field('shiseido_product_thumbnails' );
       					$first_row = $rows[0];
       					$first_row_image = $first_row['shiseido_product_main_thumbnail' ];
       					$image = wp_get_attachment_image_src( $first_row_image, '200x200' );
       					if ($image) { ?>
       						<img width="<?php echo $image[1]; ?>" height="<?php echo $image[2]; ?>" src="<?php echo $image[0]; ?>" />
       					<?php } ?>
   
       				</a><br/>
       			<?php endwhile; ?>
       		<?php } ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ambrosite Next/Previous Post Link Plus] order_by & in_same_meta](https://wordpress.org/support/topic/order_by-in_same_meta/)
 *  Thread Starter [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/order_by-in_same_meta/#post-4359233)
 * Hi,
 * I understand don’t worry 😉 it’s normal.
 * Happy thanksgiving by the way.
 * I contact you off forum.
 * Cyril
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ambrosite Next/Previous Post Link Plus] order_by & in_same_meta](https://wordpress.org/support/topic/order_by-in_same_meta/)
 *  Thread Starter [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/order_by-in_same_meta/#post-4359196)
 * Oups sorry but I’m really really not familiar with SQL.
 * Can you help with this? It will be another example for the community… 🙂
 * Where to replace this in your plugin? which line?
    How to do? Any chance that
   you help constructing this subquery and tell me where to put it?
 * Code is
 *     ```
       <?php $nextPost = next_post_link_plus( array(
       					'return' => 'href',
       					'post_type' => ' "artup_galeristes","artup_medias","artup_editeurs","artup_autres","artup_structures" ',
       					'in_same_meta' => 'artup-valider-exposant',
       					/*'order_by' => 'custom',
       					'meta_key' => 'artup-ordre-exposant',*/
       					'loop' => true
       				)
       			); ?>
       ```
   
 * I need to order_by by artup-ordre-exposant but in the same time I have to control
   that artup-valider-exposant is true (it’s a boolean).
 * Your plugin is really interesting, but I’m stuck with this and my customer waits
   for a solution.
 * Thanks in advance for your help,
 * Cyril
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] [Plugin: The Events Calendar] Page Title and Missing Date](https://wordpress.org/support/topic/plugin-the-events-calendar-page-title-and-missing-date/)
 *  [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-the-events-calendar-page-title-and-missing-date/#post-2957483)
 * Hi all!
 * Same problem here (concerning the date dissappearing).
 * I noticed that it’s when two dates are similar (12/09 and 12/09) because when
   I switch one to 13/09 this one appear again.
 * I’m using this:
 *     ```
       <span class="event-day">
       <?php echo tribe_get_start_date( null, false, 'j'); ?>
       <br/>
       <strong><?php echo tribe_get_start_date( null, false, 'M'); ?></strong>
       </span>
       ```
   
 * Any idea?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Display multisite category and posts in main installation](https://wordpress.org/support/topic/display-multisite-category-and-posts-in-main-installation/)
 *  [clecocq](https://wordpress.org/support/users/clecocq/)
 * (@clecocq)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/display-multisite-category-and-posts-in-main-installation/#post-1551800)
 * Same for me 🙂

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