Ebonie Butler
Forum Replies Created
-
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] JavaScript Not Loading on Settings PageHi @edo888 – I did try disable all the plugins but the GTranslate one but it did not work.
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide empty tabs EXCEPT reviewsSo glad things are working now! Let us know if you need anymore help!
Forum: Plugins
In reply to: [Simple Taxonomy Ordering] Ordering Not working in AjaxHi @gunjanpatel 👋🏾 – I have a couple questions.
- Is taxonomy ordering for this category working without AJAX?
- Have you confirmed that you’ve enabled the “Video Category” taxonomy in the Simple Taxonomy Ordering settings page?
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide empty tabs EXCEPT reviewsHi @neldad 🙂
That error indicates that you have another cope snippet that is using the function name yikes_woo_remove_empty_tabs. To remedy this, you can either delete the other cope snippet that has that same function name (if you are not using it) or you can use the below code snippet I provided you with where I changed the function name to avoid the function name conflict.
// Remove Empty Tabs. add_filter( 'woocommerce_product_tabs', 'yikes_woo_remove_empty_custom_tabs', 20, 1 ); function yikes_woo_remove_empty_custom_tabs( $tabs ) { if ( ! empty( $tabs ) ) { foreach ( $tabs as $title => $tab ) { if ( isset( $tab['content'] ) && empty( $tab['content'] ) ) { unset( $tabs[ $title ] ); } } } return $tabs; }
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide empty tabs EXCEPT reviewsHi @neldad,
I’m sorry that you are having issues with the code snippet. Are you using the Code Snippets plugin to insert the code? Does this error happen when you attempt to save the snippet?
Would you mind providing a screenshot of what the code snippet looks like in the editor? I inserted this code snippet using the plugin and it still works as expected. See my screenshot for an example.
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] Hide empty tabs EXCEPT reviewsHi @neldad 👋🏾
I made some adjustments to your code snippet that will only hide empty Custom Product Tabs and NOT empty Review tabs. Let me know how this works for you!
// Remove Empty Tabs. add_filter( 'woocommerce_product_tabs', 'yikes_woo_remove_empty_tabs', 20, 1 ); function yikes_woo_remove_empty_tabs( $tabs ) { if ( ! empty( $tabs ) ) { foreach ( $tabs as $title => $tab ) { if ( isset( $tab['content'] ) && empty( $tab['content'] ) ) { unset( $tabs[ $title ] ); } } } return $tabs; }
Forum: Fixing WordPress
In reply to: TypeError: Object(…) is not a functionHi there! This is also happening on my end and installing the Gutenberg plugin was a nice workaround so thank you, Ahmad. Would anyone have any insight into why this is happening? I’ve updated over websites to 5.5 without an issue and I’ve ruled out the possibility of it being a plugin.
Hi @gerrybakker,
Looking at the page you provided a link to, it does look like a theme issue in that particular case. The Avada theme looks to be using the Nicescroll jQuery plugin which doesn’t account for custom tabs with varying content right away.
However, you will see that as soon as you resize the browser window, you’re able to scroll down enough to view all of the content (as well as the footer) again.
I would check to see if you can disable “nicescroll” in your theme as a possible solution to this issue.
Thank you!
– EbonieWhen you’re doing a manual sync, can you just force it to update all the products instead of looking for differences? For some reason, it’s not updating the inventory of products that need updating.
Forum: Developing with WordPress
In reply to: Column Sorting with PaginationThank you! I ended up going with the page-reload-using-URL-parameters method. It wasn’t difficult at all once I learned of the
add_query_arg( );
function and how to use_GET
to pull parameters from the URL.I’m going to take a stab at the AJAX method since it’d made for a better UI.
Thanks again,
Ebonie@urkekg Hi! That fixed my issue. Thanks so much for responding back to me. Great plugin <3