outlierdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Better Attachments] update changelog?Great, thank you for looking into it so fast.
Forum: Fixing WordPress
In reply to: First Log In Attempt Always Fails, Second Time WorksI have the same problem. Not sure of a solution yet here either, though I will note that for me the problem seems to happen in Chrome and not in other browsers (also tried it in Firefox and Safari), for what that’s worth.
Forum: Plugins
In reply to: [Wordpress Video Plugin] Facebook video isn't workingFB video doesn’t work for me anymore either. I’m looking for another plugin. 🙁
Forum: Plugins
In reply to: [WooCommerce] Restrict payment options based on productOh, and @bheadrick, thanks for that code snippet! Exactly what I was looking for and no way in hell I’d ever have been able to come up with it myself. 🙂
Forum: Plugins
In reply to: [WooCommerce] Restrict payment options based on product@emike09,
The code provided by bheadrick does work, but there was one typo, which is probably what broke your site. There was a missing semicolon. The code below should do it.Change:
return $gatewaysto:
return $gateways;Giving:
add_filter('woocommerce_available_payment_gateways','filter_gateways',1); function filter_gateways($gateways){ global $woocommerce; foreach ($woocommerce->cart->cart_contents as $key => $values ) { //store product id's in array $highpriceditems = array(1111,2232,4235); if(in_array($values['product_id'],$highpriceditems)){ unset($gateways['paypal']); break; }} return $gateways; }That is helpful to know regarding what your plugin does as well as the timing idea. That does give me ideas. Yeah, it is not something I need addressed anymore though so all’s well on my end, thank you.
I’m happy with how it’s been resolved, but for the life of me it appears there is no way for me to officially mark this closed/resolved nor to edit my initial post. I Googled around a bit and it looks like I can’t do that because I posted in the Reviews section rather than in Support. But it looks like it’s not counting against your plugin’s support response rate though, at least.
Hey, thanks for looking into it so quickly. I should have included more detail in my initial post; the title did not actually say it all.
The particular situation in which body classes are not generated as I’d hoped is this.
On a few pages I am using the other plugin I mentioned to fake the appearance of a different permalink structure for those pages (for reasons not worth getting into at the moment), e.g. for a page that would have had /all/ for its permalink, I changed it to /books/all/.
In the above example, your plugin picks up on the “/all/” part of the slug, but it does not pick up on the /books/ part that I added to that page individually using the other plugin.
My setup is pretty complicated so this may well not be worth your time to look into further. I ended up doing something different anyway. Thanks for the time you took to look into my post, though, and thanks for the plugin.
It does, yes.
Hi John,
Thanks for your reply. I did the experimenting you suggested and the problem turned out to be with the Open Graph Integrator module.
Oh, I spoke too soon. Not sure why I thought that fixed the problem. HOWEVER, downgrading way back to 7.2.9 as suggested in a different thread took care of it. I didn’t feel like trying to work back sequentially to whatever more-recent version might actually work.
Thank you very much for figuring this out! Really saved me a lot of stress.
Also, although this plugin generally does appear to play well with the Relevanssi plugin, (as Dave’s WP Live Search documentation says it’s been designed to do), it does not respect Relevanssi’s exclusion settings.
That is, in Relevanssi you can explicitly exclude certain pages, posts, categories, or tags by ID. I’ve tested that in Relevanssi successfully before even installing this plugin. Once I installed and activated this plugin, those excluded items started showing up. Just to be sure, I deactivated Dave’s WP Live Search plugin, changing nothing else, and the exclusions again worked properly.
So that seems to be a bug.
Forum: Plugins
In reply to: [Root Relative URLs] [Plugin: Root Relative URLs] current conflictsI also have run into the infinite looping redirects issue on custom post types, even on WP 3.3.1…
I encountered that problem as well and was able to “fix” it by deselecting the “Include event posts on home page” checkbox in the plugin’s options panel.
You may have already tried that, since you did say you tried everything 🙂 but I figured I’d chime in, in case you tried everything minus that.
Hey jacquesulje, your fix works great! Thanks very much for posting this!