Saturn
Forum Replies Created
-
Yes, I do a full import/export as described, and settings end up becoming “lost” somehow. I have to re-enter them, including the template pages, email settings, etc.
I can set up a test environment and do a dump of the SQL both before and after the process. Would that help?
Actually, it looks like
give_purchase_form_after_cc_formaccomplishes my goal even though it’s a bit unintuitive.Thanks!
- This reply was modified 9 years, 2 months ago by Saturn.
so do any of these allow you to output a custom field before the submit button?
Forum: Plugins
In reply to: [Stripe for WooCommerce] Change "expiry" to "expiration date"since all text goes through wordpress, you can use the gettext filter hook to translate anything, but more importantly woocommerce text found all over the place, whether it’s from a plugin or other custom function.
there may be a “better” way to do it using specific hooks for each string, where it appears, etc (this hook claims to be a “resource hog”) but this seems very straight-forward and simple.
/* change wordpress text */ function custom_text( $translated_text, $text, $text_domain ) { /* don't do this in the admin panel */ if ( is_admin() || 'woocommerce' !== $text_domain ) { return $translated_text; } /* custom text strings for woocommerce-generated page */ if ('Coupon code' === $text) { return 'Promo code'; } if ('Have a coupon?' === $text) { return 'Have a promo code?'; } if ('Apply Coupon' === $text) { return 'Apply'; } if ('Coupon usage limit has been reached.' === $text) { return 'Our records show that you have already used this promo code.'; } if('This coupon has expired.' === $text) { return 'Sorry, this promo code is no longer active.'; } if('Coupon "%s" does not exist!' === $text) { return 'Sorry, "%s" is not a valid promo code.'; } if ('Return To Shop' === $text) { return 'Continue Shopping'; } /* checkout form text */ if ('Your order' === $text) { return 'Order Summary'; } if ('Town / City' === $text) { return 'City'; } if ('Zip' === $text) { return 'Zip Code'; } if ('Email Address' === $text) { return 'Email'; } if ('Expiry (MM/YY)' === $text) { return 'Expiration Date (MM/YY)'; } if ('Card Code' === $text) { return 'Card Verification Code'; } return $translated_text; } add_filter('gettext', 'custom_text', 10, 3);Forum: Reviews
In reply to: [Simple Calendar - Google Calendar Plugin] NOT Google Calendar Eventssoulgeekguru note that this isn’t a “hijack” in that someone stole the name, but a hijack in that the old developer and a bunch of new ones got together and used the original product’s name for a completely different thing… this is what screws up installs. see my link if you want the latest version of the old plugin.
Forum: Reviews
In reply to: [Simple Calendar - Google Calendar Plugin] NOT Google Calendar EventsNo big deal — not far beyond what to expect when updating 2+ year old code. Nothing is free forever 🙂 Just wanted to warn people who may be looking to update.
Forum: Reviews
In reply to: [Smart Quote Fixer] doesn't workyep, I have lots of custom fields. I assumed it would work on all content. no big deal, did a quick find/replace in the database, problem solved.
Forum: Plugins
In reply to: [HungryFEED] Support for combined RSS feed?you probably aren’t including the author field from RSS
Forum: Plugins
In reply to: [jQuery Pin It Button for Images] Pin It Button Disable Hover AnimationI was having this same problem (the button “sliding up” on hover) and I realized I had a css transition property set to all elements on hover. the pinterest button changes to a different image on hover by using an image sprite and changing the background image position… this causes a hover to create a sliding effect.
setting transition: none; for the pinterest button fixed the issue.
Forum: Plugins
In reply to: [Infinite-Scroll] Does it work in woocommerce shop page??doesn’t work for me even when using the correct CSS selectors.
also that post is from a year ago (note the date – 2011, not 2012)
that’s about wordpress’ repository being hacked. nothing to do with WPSecurity.
as for their certificate, it just expired. just means they’ve been too lazy to update it. but for a security site, somewhat sketchy.
plugin is broken.
(fixed)
cool! glad it wasn’t something I did