Title: Fully Multisite compatible? anyone using on Multisite network enabled?
Last modified: August 31, 2016

---

# Fully Multisite compatible? anyone using on Multisite network enabled?

 *  Resolved [Dan & Jennifer](https://wordpress.org/support/users/danstuff/)
 * (@danstuff)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/)
 * Hi there!
 * Great plugin, looks like a very useful functionality to add to WordPress.
 * Is this plugin fully compatible with Multisite? is anyone using it on Multisite?
 * referring to having it network activated on Multisite so it’s available to all
   the sub-sites in the network.
 * Thanks!
 * [https://wordpress.org/plugins/duplicate-post/](https://wordpress.org/plugins/duplicate-post/)

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

 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215602)
 * Hi,
    it should be fully compatible, I’ve tested it on a Multisite installation.
 * If you try it and find any problems, feel free to report them so I can fix!
 *  [dunc](https://wordpress.org/support/users/dunc/)
 * (@dunc)
 * [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215603)
 * Hi,
 * I’m using it on a multisite and may have come across a problem.
 * I have a custom post type. After cloning a post the original becomes unavailable
   to get_post().
 * Here’s an example:
 * You can see both products in search results (the version with ‘NRC/CAC’ in the
   name is the clone):
    [http://www.globalgreentag.com/?archive_template=search.php&s=Fissured&post_type=products](http://www.globalgreentag.com/?archive_template=search.php&s=Fissured&post_type=products)
 * Here is a single page template for the CPT ‘manufacturers’ with a get_post() 
   at the bottom to display posts from the CPT ‘products’ based on a taxonomy. Only
   the clone ‘NRC/CAC’ is shown:
    [http://www.globalgreentag.com/manufacturer/armstrong-world-industries-ceiling-division/](http://www.globalgreentag.com/manufacturer/armstrong-world-industries-ceiling-division/)
 * This product is missing (the original):
    [http://www.globalgreentag.com/products/fine-fissured-fine-fissured-planks-and-fine-fissured-high-nrc/](http://www.globalgreentag.com/products/fine-fissured-fine-fissured-planks-and-fine-fissured-high-nrc/)
 * In the search results you can see they both have the same manufacturer (taxonomy)
   so they should both appear on the manufacturer page above.
 * We have numerous examples and the common thread is that it’s the original that
   goes m.i.a.
 * Here’s a copy of my get_post() code that I’m using on my single manufacturer 
   template :
 *     ```
       <?php
       global $post;
       $slug = get_post( $post )->post_name;
   
       $manproducts = get_posts( array(
       	'numberposts' => -1, // we want to retrieve all of the posts
       	'post_type' => 'products',
       	'manufacturer' => $slug,
       	'suppress_filters' => false
       ) );
   
       if( $manproducts ) {
          ?><h3>Products</h3>
       <div class="post-grid">
       <div class="grid-items">
       <?php
             foreach ( $manproducts as $manproduct ) {
                ?><div class="item">
       <div class="layer-media">
       			<?php if ( has_post_thumbnail( $manproduct->ID ) ) { ?>
       				<a href="<?php echo get_permalink( $manproduct->ID ) ?>" title="<?php echo get_the_title( $manproduct->ID ); ?>">
       					<?php echo get_the_post_thumbnail( $manproduct->ID, 'medium' ); ?>
       				</a>
       			<?php } ?>
       </div>
       <div class="layer-content">
       <h4><a href="<?php echo get_permalink( $manproduct->ID ) ?>" title="<?php echo get_the_title( $manproduct->ID ); ?>"><?php echo get_the_title( $manproduct->ID ); ?></a></h4>
       </div>
       </div>
   
       <?php
             }
          ?>
       </div>
       </div>
       <?php
       }
   
       wp_reset_query();
       ?>
       ```
   
 * FYI – I’m using the plugin CPT-onomies to create the ‘manufacturer’ CPT and Taxonomy.
 * Any ideas?
 * Thanks!
    – Duncan
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215604)
 * Hi,
    It seems that [the products list](http://www.globalgreentag.com/products/)
   shows both the original and the clone. So probably there’s something in your 
   call to get_posts?
 * If you can edit the code you’ve posted, I would suggest these tests:
    - use `tax_query` instead of the “direct” taxonomy reference `'manufacturer'
      => $slug`, as it is deprecated since WP 3.1
    - try to set `'suppress_filters' => true` to see if there is some filter that
      hacks the result
 * Can you try these and tell me if they fix or at least if there’s some progress?
 *  [dunc](https://wordpress.org/support/users/dunc/)
 * (@dunc)
 * [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215607)
 * tax_query fixed it. Thanks for the tip about the deprecated code [@lopo](https://wordpress.org/support/users/lopo/).
 * So to answer OPs question, yes working fine on multisite.
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215608)
 * Glad to hear that!

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

The topic ‘Fully Multisite compatible? anyone using on Multisite network enabled?’
is closed to new replies.

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * 5 replies
 * 3 participants
 * Last reply from: [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/fully-multisite-compatible-anyone-using-on-multisite-network-enabled/#post-7215608)
 * Status: resolved