aro_007
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Is there a way to show the current number of job postings?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/
- This reply was modified 7 years, 1 month ago by aro_007.
Forum: Plugins
In reply to: [WP Job Manager] Is there a way to show the current number of job postings?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
In reply to: [WP Job Manager] Is there a way to show the current number of job postings?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
In reply to: [WooCommerce] Composite Product VariationsI’m having this same issue. @shoaib_fareed, did you find a solution?
Forum: Fixing WordPress
In reply to: Pagination not working on some WooCommerce category pagesChanged the permalinks and this is fixed now.
I don’t get an error anymore, however the class is being added to all categories. I can show you: Website
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>"; } }The echo line is giving an error. Is there something missing there?
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?
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
In reply to: [WooCommerce] Scheduled sales not working.I had also reinstalled WC without success. I think I deactivated all plugins as well to test.
Forum: Plugins
In reply to: [WooCommerce] Scheduled sales not working.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
In reply to: Woocommerce – Sale prices not showing.I will go ahead and post this on the Woocommerce plugin forum though.
Forum: Fixing WordPress
In reply to: Woocommerce – Sale prices not showing.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
In reply to: Woocommerce – Scheduled sales not working.Will do, thank you!