Title: marcel1985's Replies | WordPress.org

---

# marcel1985

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discount Rules for WooCommerce] Only QTY 1 discount, no discount when add more from same product](https://wordpress.org/support/topic/only-qty-1-discount-no-discount-when-add-more-from-same-product/)
 *  Thread Starter [marcel1985](https://wordpress.org/support/users/marcel1985/)
 * (@marcel1985)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/only-qty-1-discount-no-discount-when-add-more-from-same-product/#post-11848642)
 * Can you help me out?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Discount Rules for WooCommerce] Only QTY 1 discount, no discount when add more from same product](https://wordpress.org/support/topic/only-qty-1-discount-no-discount-when-add-more-from-same-product/)
 *  Thread Starter [marcel1985](https://wordpress.org/support/users/marcel1985/)
 * (@marcel1985)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/only-qty-1-discount-no-discount-when-add-more-from-same-product/#post-11831325)
 * HI,
 * No, sorry, it works a different way.
    We are selling underwear and socks (sucbscription)
   so they receive socks or underwear every month.
 * I want to give discount on the first one, but not on the second one.
    So a few
   examples.
 * For each product, if they add 1 to the cart it’s $10 in stead of $16,99.
    If 
   they add 2 t the cart it’s $26,99 in stead of $33,98
 * If they add multiple products, every first one gets a discount.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Country IP Specific Redirections] Plugins not working](https://wordpress.org/support/topic/plugins-not-working-15/)
 *  [marcel1985](https://wordpress.org/support/users/marcel1985/)
 * (@marcel1985)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugins-not-working-15/#post-8733676)
 * I have the same issue, it keeps reloading
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook Publish] multiple posts to facebook](https://wordpress.org/support/topic/multiple-posts-to-facebook-2/)
 *  [marcel1985](https://wordpress.org/support/users/marcel1985/)
 * (@marcel1985)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multiple-posts-to-facebook-2/#post-5408863)
 * I have the same issue, when publishing I’ll get 2 posts on FB, one with the custom
   permalink and one with the ?p= link (wich says, page 404).
 * How can I fix this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Multi-column Tag Map] Show only category related to that post](https://wordpress.org/support/topic/show-only-category-related-to-that-post/)
 *  Thread Starter [marcel1985](https://wordpress.org/support/users/marcel1985/)
 * (@marcel1985)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/show-only-category-related-to-that-post/#post-3349525)
 * Yes!! I even found this code:
 * _[Moderator Note: Please post code or markup snippets between backticks or use
   the code button. As it stands, your posted code has been permanently damaged/
   corrupted by the forum’s parser.]_
 *     ```
       <?php
       $categories = get_the_category();
       $separator = ' ';
       $output = '';
       if($categories){
       	foreach($categories as $category) if($category->parent == 84) {
       		$output .= '<a>term_id ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.'</a>'.$separator;
       	}
       echo trim($output, $separator);
       }
       ?>
       ```
   
 * That would be the best option cause I can exlcude some.. But I don’t know how
   and where to put it so it displays on the bottom of Every Post! Perhaps someone
   can help me putting this in a sort of shortcode?

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