Title: aro_007's Replies | WordPress.org

---

# aro_007

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Is there a way to show the current number of job postings?](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/#post-11353939)
 * If you’re interested, I’d be happy to share the plugin with you for $50 (I paid
   $138 to have it created). It’s not a maintained plugin of course, so there won’t
   be updates.
 * It returns the number of job postings that are live (not expired and not filled).
 * It uses a shortcode and you can add the before and after text to the shortcode
   as well.
 * You can see it in action here: [http://www.elkhorn.biz/](http://www.elkhorn.biz/)
    -  This reply was modified 7 years, 1 month ago by [aro_007](https://wordpress.org/support/users/aro_007/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Is there a way to show the current number of job postings?](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/#post-11353909)
 * Hi there!
 * There is a solution, but I didn’t write it myself. I commissioned a developer
   to create a plugin for me to add this functionality.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Job Manager] Is there a way to show the current number of job postings?](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/is-there-a-way-to-show-the-current-number-of-job-postings/#post-10974120)
 * Sounds good. However, I do want to mention that the WP Job Manager support team
   recommended I post my question here and they were also aware of what my question
   was when they gave me that feedback.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Composite Product Variations](https://wordpress.org/support/topic/composite-product-variations/)
 *  [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/composite-product-variations/#post-8331469)
 * I’m having this same issue. [@shoaib_fareed](https://wordpress.org/support/users/shoaib_fareed/),
   did you find a solution?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pagination not working on some WooCommerce category pages](https://wordpress.org/support/topic/pagination-not-working-on-some-woocommerce-category-pages/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/pagination-not-working-on-some-woocommerce-category-pages/#post-8326339)
 * Changed the permalinks and this is fixed now.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Want to add a class to product category link if in current product category.](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/#post-8249473)
 * I don’t get an error anymore, however the class is being added to all categories.
   I can show you: [Website](http://appliedpreview.com/cstore/shop/)
 * Here’s how I have that full block of code:
 *     ```
       function is_in_sub_term_page( $parent_id ) {
       	if ( ! is_tax( 'product_cat' ) ) {
       		// If you are not in product cat page, return false.
       		return false;
       	}
   
       	// Get current term id.
       	$term_object = get_queried_object();
       	$term_id = $term_object->term_id;
   
       	// This function check if $term_id is child of $parent_id.
       	return term_is_ancestor_of( $parent_id, $term_id, 'product_cat' );
       }
   
       function show_parent_categories( $args = array() ) {
   
       $args = array(  
           'hierarchical' => 1,
           'show_option_none' => '',
           'hide_empty' => 0,
           'parent' => $category->term_id,
           'taxonomy' => 'product_cat'
       );
   
       $product_categories = get_terms( 'product_cat', $args );
       $active = is_tax( 'product_cat', $product_category->slug ) ? 'active' : '';
       $parent_active = is_in_sub_term_page( $product_category->term_id ) ? 'parent-active' : '';
   
       $count = count($product_categories);
        if ( $count > 0 ){
        echo "<div id='main-categories-wrapper'><ul id='main-categories'>";
        foreach ( $product_categories as $product_category ) {  
       		echo '<li><a class="' . $active . ' ' . $parent_active . '" href="' . get_term_link( $product_category ) . '">' . $product_category->name . '</li>';
        }
        echo "</ul></div>";
       }
       }
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Want to add a class to product category link if in current product category.](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/#post-8249338)
 * The echo line is giving an error. Is there something missing there?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Want to add a class to product category link if in current product category.](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/#post-8244597)
 * Ok so I got it to where there isn’t an error. Is it possible to have the class
   show when you’re in a subcategory of that category as well?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Want to add a class to product category link if in current product category.](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/want-to-add-a-class-to-product-category-link-if-in-current-product-category/#post-8244350)
 * Thanks for the response Truong. I keep getting the following error.
 * Parse error: syntax error, unexpected ‘)’, expecting ‘,’ or ‘;’
 * Do you know why this would be?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Scheduled sales not working.](https://wordpress.org/support/topic/scheduled-sales-not-working-1/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/scheduled-sales-not-working-1/#post-6805514)
 * I had also reinstalled WC without success. I think I deactivated all plugins 
   as well to test.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Scheduled sales not working.](https://wordpress.org/support/topic/scheduled-sales-not-working-1/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/scheduled-sales-not-working-1/#post-6805500)
 * andrianiannalisa,
 * If you end up hiring someone and they fix it, please recommend them. I ended 
   up encouraging a shop owner to use coupons instead. Or, some plugins seem to 
   honor the scheduled times. Those were my workaround solutions.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Woocommerce – Sale prices not showing.](https://wordpress.org/support/topic/woocommerce-sale-prices-not-showing/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-sale-prices-not-showing/#post-6805207)
 * I will go ahead and post this on the Woocommerce plugin forum though.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Woocommerce – Sale prices not showing.](https://wordpress.org/support/topic/woocommerce-sale-prices-not-showing/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-sale-prices-not-showing/#post-6805204)
 * Hi, no this is a separate issue really. When the sales are in effect, the sales
   price is not showing up. Or at least, it seems like a separate issue to me.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Woocommerce – Scheduled sales not working.](https://wordpress.org/support/topic/woocommerce-scheduled-sales-not-working/)
 *  Thread Starter [aro_007](https://wordpress.org/support/users/aro_007/)
 * (@aro_007)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-scheduled-sales-not-working/#post-6805202)
 * Will do, thank you!

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