Biplav
Forum Replies Created
-
Yep, works as expected now.
Thanks@safronik @alexandergull
You are directly changing the global variable in the new method i.e.apbct_wp_get_current_user()which causes some hooks likeset_current_userto not run at all. This can cause problems for other plugins who rely on that hook.
Also, if I’m not mistaken modifying global variables is against the WordPress development guidelines as well.
If possible please use this method insteadwp_set_current_user().@davidlykhim
Thank you! 🙂Sorry if I wasn’t clear on the second point.
Instead of usingadmin_print_scriptscould you useadmin_enqueue_scriptsunless there’s a specific reason to use the print scripts hook?- This reply was modified 7 years, 1 month ago by Biplav.
It’s because the role name is translated.
If you test on the different language the name comes differently and on many places the conditions are placed otherwise. I had the exact place but it was months ago so I forgot. But the plugin does break some functionality when you’re using WordPress on different language.- This reply was modified 7 years, 6 months ago by Biplav.
WC_Custom_Shipping_Methodis an abstract class and you are trying to change its inherited methodcalculate_shippingwhich abstract classes don’t allow.Try doing it like this.
class Abs_Custom_Shipping extends WC_Shipping_Method{} class WC_Custom_Shipping_Method extends Abs_Custom_Shipping {}( extend the shipping method into a child class then extend the child into a grandchild class ).
Hope it makes sense.
RegardsNevermind, I found that the terms were being cached since I had done translation later on.
Anyone with this issue can go to Woocommerce -> Settings -> Products Filter -> Advanced -> Options -> Cache terms and clear cache.
Regards.
Forum: Themes and Templates
In reply to: [Corporate Key] Cannot Add Slider TextI am also facing the similar issue. The slider setup is kind of difficult.
- This reply was modified 9 years, 1 month ago by Biplav.
Forum: Plugins
In reply to: [Product Tabs for WooCommerce] Reviews part not appearHello,
Please check if you have any other plugin that disables comments and reviews enabled.
You can deactivate plugins one by one so that you will know which exact plugin is causing the issue to appear, as I do not think that this plugin is causing the issue. Can you please verify and get back to me ?
Regards.
Forum: Plugins
In reply to: [Product Tabs for WooCommerce] Reviews part not appearHello, @dcecharlotte
I am sorry but I do not seem to understand your question,
Do you mean you have disabled the review tab and want to add it on a new tab?
Or does the default tab disappears ?
If your default tab disappears please check if you have any other comment disabling plugins activated or you have disabled comments on your site.
Also check if your product has allowed comments by going toDashboard -> Products hover on the product where the tab is not displayed and click on quick edit, then click on
Allow commentsoptionHope it helps.
Regards.Hello,
Please set priority to
11to make your custom tab appear between description and review tabs.I’ll resolve this topic, since this issues will be resolved if the above given instruction is followed. If you have any other issues, please create a new thread.
Regards.
Forum: Plugins
In reply to: [Product Tabs for WooCommerce] short product description is now last tabSince an instruction has already been provided on the next topic linked above ill resolve this topic.
If you have any other questions you could always create a new topic.
Regards.
Forum: Plugins
In reply to: [Product Tabs for WooCommerce] Tabs not workingResolving this topic since the plugin is working fine on default themes like twentyseventeen and others.
If you have any other issues, you can create a new topic.
Regards.
Forum: Plugins
In reply to: [Product Tabs for WooCommerce] How to adding custom text or color to TIPHello,
Yes this is surely an awesome idea, we will let you know if the feature is added on the plugin.
For now I’ll resolve the topic, if you have any more questions you can always create a new topic.
Regards.
Forum: Plugins
In reply to: [WP Easy Share ( An easy social share plugin)] Break my websiteHello.
Also, can you please mark this thread as resolved, if your original issue has already been fixed?
Treads can be resolved fromStatus:dropdown on the right.You can always open new threads so that other users facing the same problem can gather reference. This way you will be helping yourself as well as other users too and from the way I see it, that is a huge contribution.
Thank you 🙂
Forum: Plugins
In reply to: [WP Easy Share ( An easy social share plugin)] Break my websiteHello,
Please add the below given CSS to Dashboard -> Appearance -> Customize -> Additional CSS
li.wes-layout-one-list a i { font-size: 22px; } button.wes-disabled-btn { background-color: inherit; font-size: 20px; }You can change size of the font as you like. Currently. on the above code the social icon has
22pxfont size and the title has20px. You can change it according to your requirement.Regards.