Title: winningsem's Replies | WordPress.org

---

# winningsem

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] [Plugin: WooCommerce – excelling eCommerce] Quantity Sold](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-quantity-sold/)
 *  Thread Starter [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-quantity-sold/#post-3099523)
 * I found the solution it was pretty easy
    WooCommerce add a custom field with 
   the product sold you can just echo it <?php echo get_post_meta($post->ID, ‘total_sales’,
   true); ?>
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Field Template] [Plugin: Custom Field Template] Problem With Custom post types](https://wordpress.org/support/topic/plugin-custom-field-template-problem-with-custom-post-types/)
 *  Thread Starter [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-problem-with-custom-post-types/#post-2468691)
 * a screenshot of what it does
 * [http://www.winningsem.com/screen.jpg](http://www.winningsem.com/screen.jpg)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] 2 connected posts inside each other](https://wordpress.org/support/topic/plugin-posts-2-posts-2-connected-posts-inside-each-other/)
 *  Thread Starter [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-2-connected-posts-inside-each-other/#post-2376930)
 * just in case you need this
    the code in function.php
 *     ```
       /////////////////////////
   
       function my_connection_types() {
           if ( !function_exists( 'p2p_register_connection_type' ) )
               return;
   
           p2p_register_connection_type( array(
       		'id' => 'communities_to_builders',
               'from' => 'builders',
               'to' => 'communities'
           ) );
       }
       add_action( 'init', 'my_connection_types', 100 );
   
       ///////////////////////////////
   
       /////////////////////////
   
       function my_builders_to_home_design() {
           if ( !function_exists( 'p2p_register_connection_type' ) )
               return;
   
           p2p_register_connection_type( array(
       		'id' => 'builders_to_home_design',
               'from' => 'builders',
               'to' => 'home-design'
           ) );
       }
       add_action( 'init', 'my_builders_to_home_design', 100 );
   
       ///////////////////////////////
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] [Plugin: Posts 2 Posts] 2 connected posts inside each other](https://wordpress.org/support/topic/plugin-posts-2-posts-2-connected-posts-inside-each-other/)
 *  Thread Starter [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-2-connected-posts-inside-each-other/#post-2376928)
 * Code Looks better here :): [http://pastebin.com/SccCm4yQ](http://pastebin.com/SccCm4yQ)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Taxonomy template file in custom theme](https://wordpress.org/support/topic/taxonomy-template-file-in-custom-theme/)
 *  [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/taxonomy-template-file-in-custom-theme/#post-1788423)
 * yeah using the way i mentioned above worked with custom permalinks
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Taxonomy template file in custom theme](https://wordpress.org/support/topic/taxonomy-template-file-in-custom-theme/)
 *  [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/taxonomy-template-file-in-custom-theme/#post-1788421)
 * Well I have lots of trial and I couldnt get it to work with the taxonomy-taxonomy-(
   insert your taxonomy here).php
    then I tried to use
 * single-(insert your taxonomy here).php
 * ans surprisingly it worked 🙂
 * So I guess the
 * taxonomy-(insert your taxonomy here).php
 * is equivalent to category.php
 * and this
    single-(insert your taxonomy here).php
 * is equivlant to single.php just the wordpress docs didn’t explain that good enough
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [How can I create a custom post type with empty slug?](https://wordpress.org/support/topic/how-can-i-create-a-custom-post-type-with-empty-slug/)
 *  [winningsem](https://wordpress.org/support/users/winningsem/)
 * (@winningsem)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/how-can-i-create-a-custom-post-type-with-empty-slug/#post-1796974)
 * Sometimes it doesn’t work unless you update your permalinks under settings > 
   permalinks > Save Changes (Even if you didnt make any changes to the permalink
   in that page) it refresh the mod rewrite and get your new permalinks

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