maxstjb
Forum Replies Created
-
Forum: Plugins
In reply to: [Top Bar] Translate or hideHi,
I’m using a different plugin but my “fix” might be working with this one too.
I’ve added something in my functions.php so that the WPML language code is added as a body class. So for example, my code ends up looking like this in french :<body class="fr"> <div class="topbar"> <span class="fr">FR content</span> <span class="en">EN content</span> </div> </body>Then with some css you can display none the non-current language content
body.fr span.en, body.en span.fr {display:none;}Code to append language to body class to include in functions.php
// Add wpml body class add_filter('body_class', 'wpml_body_class'); function wpml_body_class($classes) { $classes[] = ICL_LANGUAGE_CODE; return $classes; }I know that this is far from ideal solution, but it works for me as a quick solution for a temporary promotion with topbar. For this to work, the topbar message field must accept html so you can wrap the content in span with a class.
Thanks!
- This reply was modified 8 years, 5 months ago by maxstjb. Reason: typo
Forum: Plugins
In reply to: [Top Bar] Translate or hideHi,
were you able to make the translation work? I am trying to do the same thing.
Thanks
MaxForum: Plugins
In reply to: [WooCommerce] Subtotal no longer showing after activating TaxesHi all,
problem solved. Somebody had commented parts of wc-abstract-order file…Forum: Plugins
In reply to: [WooCommerce] Internal Order Management ToolHi, sorry for bringing this discussion back to life.
I’m basically looking for a module/plugin where the sales rep of my company could login and see their respective customers list, once the rep has selected the customer for which he’d like to create an order, he can browse through the products and add to cart. For now there’s no payment required.You are saying that you know a few people that do this? I’m not using any shipping or payment gateways. If you could help me find out which plugins/modules they are using, that would be very helpful.
I already sent an email to TradeGecko. But I would prefer a more basic (and cheaper) solution.