Ryan
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Admin] Refunds not working in Categories and ProductsWe may have found the cause of this issue. It seems if the refund quantity field is left blank when issuing a refund, then the refund is not included in the “Products” and “Categories” analytics screens.
That makes sense, I guess, since the refund is not associated with a product. But I think it should default to 1 or trigger an error when quantity is left blank to avoid user error.
Forum: Plugins
In reply to: [WooCommerce Admin] Refunds not working in Categories and ProductsThanks for the reply @nixiack8. It looks like all of your screenshots are from the old Reports in Woocommerce. I’m referring to the new “Analytics” that is part of this WooCommerce Admin plugin.
Forum: Plugins
In reply to: [Stencil] stencil-admin.js loads on frontend@mikesale – I ended up having to do something like the following to dequeue the scripts:
add_action( 'wp_print_styles', 'dequeue_scripts', 1000 ); add_action( 'get_footer', 'dequeue_scripts', 1000 ); function dequeue_scripts() { // If not in admin and current user cannot upload files, dequeue Stencil javascript. if( !is_admin() && !current_user_can('upload_files') ) { wp_dequeue_script( 'stencil' ); wp_dequeue_style( 'stencil' ); } }
And yes, that’s using the
wp_print_styles
andget_footer
action hooks. I realize that’s not typically how you dequeue scripts but due to how this plugin enqueues scripts using both of those hooks was the only way I could find to completely prevent Stencil from loading.Hope this helps you out.
Forum: Plugins
In reply to: [Stencil] stencil-admin.js loads on frontendBut if the user is not logged in or doesn’t have the WP capabilities to access the media library, there shouldn’t be a need to load scripts.
How do I dequeue the scripts and styles added by your plugin?
This is not working:
add_action( 'admin_print_scripts', 'my_dequeue_scripts', 1000 ); function my_dequeue_scripts() { wp_dequeue_script( 'stencil' ); wp_dequeue_style( 'stencil' ); }
I tried the following action hooks and none worked:
admin_print_scripts
admin_enqueue_scripts
wp_print_scripts
wp_enqueue_scripts
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] location and proximityHey Josh, when you say
“what I should have done is add a filter for location source to the Proximity Facet”
do you mean using the
facetwp_index_row
filter as documented here?Are repeatable fields still on track? I see Pods 2.5 is in beta but haven’t seen anything about repeatable fields being in that version.
Forum: Plugins
In reply to: [Janrain Social Login] Insert Janrain Engage into WordPress Theme?Oops, made a mistake in that code. It should be:
<?php echo do_shortcode('[rpxlogin redirect="https://www.janrain.com" prompt="Authenticate!" style="large"]'); ?>
using the example rpxlogin shortcode.
And I can confirm that it does in fact work.
Forum: Plugins
In reply to: [Janrain Social Login] Insert Janrain Engage into WordPress Theme?<?php do_shortcode('[enter-shortcode-here]'); ?>
Might work. Just add that to your theme template.I’m having a similar problem with the DirectoryPress theme from PremiumPress. I’ve deactivated all other plugins and still not working. Any suggestions?
Forum: Plugins
In reply to: [Custom Post Type UI] [Plugin: Custom Post Type UI] with_front propertyI would also very much like to see with_front implemented.
Hey Brad, can we get an update on if/when it will be added to the Custom Post Type UI plugin?Forum: Fixing WordPress
In reply to: Children, Parents, Custom MenuLooks like you have this working. Would you mind posting the code you used? I’d like to do something similar.
Forum: Fixing WordPress
In reply to: Anyone know how to synchronize users across multiple installs?Hey TruSktr,
Did you ever figure this out? I’m wondering how to do this as well. Anyone know of a plugin or other solution?
Forum: Plugins
In reply to: [Plugin: WordPress Navigation List Plugin NAVT] Can not move NAVT widgetI have the same problem. WordPress 2.8.4
Forum: Alpha/Beta/RC
In reply to: 2.8 beta widget bugjunsuijin,
Could you point me to a resource/tutorial that would help explain the process of upgrading my theme’s widget areas to be 2.8-compatible? It’s a custom theme and for various reasons I have to do this myself.