zink
Forum Replies Created
-
I think you may have misread my reply. I confirmed that the paypal.php file is included in the update. Thanks again.
I do see the paypal.php file now after updating. I’d imagine that should do the trick.
I’m not sure how to test it. Before the update, transactions were completed successfully and everything seemed to be working fine. But then I got the email from PayPal. I suppose if I don’t get another email from PayPal, the issue has been fixed. Fingers crossed.
Thanks for the quick update!
Forum: Plugins
In reply to: WooCommerce exclude sale price per user roleGive this a shot. Add it to your functions file. Adding the role names to
current_user_can()
worked, but the WP docs warned that it may not.////////////////////////////////////////////////////////////// // Remove Sales Flash if Dealer/Distributor/Reseller ////////////////////////////////////////////////////////////// if ( current_user_can('dealer') || current_user_can('distributor') || current_user_can('reseller')) { add_filter('woocommerce_sale_flash', 'woo_custom_hide_sales_flash'); function woo_custom_hide_sales_flash() { return false; } }
Forum: Plugins
In reply to: [Simple Social Icons] Fatal error: Call to undefined function ctype_digit()Thanks, jigarakatidus!
Aaron:
Please disregard what I just wrote. I just updated the plugin to the latest version, and you nailed it! It works exactly how I had hoped.
Sorry for speaking too soon.
Great work!
No, that suggestion wouldn’t solve the issue.
Basically, I’d like to set it and forget it. Meaning, after I choose a Default Expiration Category on the main screen, it should automatically be set to add that category as soon as I check Enable Post Expiration on an individual post.
Currently, after I check Enable Post Expiration, I then have to also change the How to Expire option from Draft to the desired category that I set as the Default Expiration Category.
It’s really just one more click, so it’s not a big deal – but it could probably be altered to work that way by adding more options on the main screen to allow for fine tuning the preferred result.
Here’s an example:
Let’s say that I’ve setup my wp query to show all posts except for posts with a category called “Invisible.” And I have time-sensitive posts that must be removed from the query after 30 days from their publish date.It would be a perfect scenario if there were options in the settings that allowed me to set custom actions as soon as I enable post expiration for a post. So I’d be able to set the following:
1. How to Expire (Draft, Delete, Private, Category:Add, Category:Replace, or Category:Remove)
2. Default Category (if I selected one of the category options in the How to Expire setting)
3. Default TImeFor my example, I’d choose:
1. Category:Add
2. Invisible
3. +30 daysThen, as soon as I enable post expiration on a post, everything would be set to those settings. And after 30 days, the Invisible category is added to the post – therefore removing it from the wp query.
I’m sure there are other options that could be added to the main screen as well. I know my situation is just one use case. Hope that make sense.
The settings page doesn’t save the option. Well it does, but not in the way I had hoped it would. So this is probably more of a feature request than a bug.
Currently, let’s say I choose a Default Expiration Category in the Settings. If I Enable Post Expiration for a post, the How to Expire select defaults to Draft.
Ideally, since I chose a Category that I’d like it to default to, the How to Expire select should default to add that Category to the post.
After thinking about the Settings more, though, I see where there is quite a bit more to factor in for this to function correctly and cover all different scenarios (e.g. defaulting to remove or replace a Category instead). There would need to be more options in the settings, so that’s why it’s a feature request.
Did you ever figure this out?
Forum: Plugins
In reply to: [WooCommerce] Set TWO WooCommerce category thumbnails?Thanks for figuring it out. Exactly what I was looking for.
You shouldn’t need to upload two thumbnail images in the Category. When you upload an image to the Media Library, the default post thumbnail sizes are generated, as well as any custom sizes you included in functions.php.
So you could write ‘wp_get_attachment_image’ again, but change the ‘feature-image’ alias to ‘thumbnail’ (or whatever size you want).
Forum: Plugins
In reply to: [Opening Hours] Time FormatExcellent! Thanks for the update.
Forum: Plugins
In reply to: [Opening Hours] Time FormatAnd while we’re brainstorming, it would cool to have the ability to set hours for unique instances, such as holidays. I know that’s probably a much bigger task with a bunch of other potential variables, but something to consider.
Forum: Plugins
In reply to: [Opening Hours] Time FormatI agree with osalcedo, and would definitely love to see the same options. Looking forward to the next version.
Nice work!
Forum: Plugins
In reply to: Custom order for next_post_link & previous_post_link?Found the perfect solution with a plugin called Next/Previous Post Link Plus.
Works like a charm.
zinkForum: Plugins
In reply to: NextGEN gallery puts images at bottom of page.This happened to my site once as well. It was resolved by changing the path to include the lightbox stylesheet from a relative path to an absolute path.