m_disseny
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Changing button text in mini-cartI wouldn’t post here the username and password…
If you can’t manage to use the .po files for translations you can replace the strings directly from your theme. Keep in mind that this will be a problem if you want to add more languages or if you need to update your theme, so create a changelog with all the modifications you make.
Go to Vzhled -> Editor and edit the file Záhlaví (Templates/header.php). Use the search option of your browser and look up for:
{__ 'Cart is empty'}
and
{_nx 'item', 'items', 'items in the shop cart', aitWooCommerceCartItemsCount()}
Just replace the strings between apostrophes and save the template file.
Hope this helps!
Forum: Plugins
In reply to: [WooCommerce] Changing button text in mini-cart1) Download and install poedit from https://www.poedit.net/.
2) Open the xxx-cs_CZ.po file with poedit, if it doesn’t exist open the xxx.pot file.
3) Us the search tool to find the strings you need to translate.
4) Make sure you save it as xxx-cs_CZ.po, it will automatically create .mo file with the same name.Reload the page.
Forum: Plugins
In reply to: [WooCommerce] Changing button text in mini-cartHi KR,
I see you’re bulding your website based on loremipsum WP theme. I see this theme comes with a .pot file. Have you set the proper cs_CZ translation for your theme? I’m pretty sure these strings are there.
If you can’t find them try to find in your theme’s directory the file with the class “ait-woocommerce-cart-info”, and look for a piece of code similar to this: <?php _e(‘Cart is empty’, ‘loremipsum or whatever’); ?>
If you find it, then try to update with poedit the xxxxxx-cs_CZ.po file adding the url of the file that includes the code.
Hope this helps!
Forum: Plugins
In reply to: [WooCommerce] Changing button text in mini-cartHi radimone,
in my case the mini-cart template and translation strings came from the theme instead from the woocommerce plugin. This is something quite usual if your site is based on a wootheme, in this case you should look at your theme’s .po & .mo files and translate the strings there.
Hope this helps!
Forum: Plugins
In reply to: [WooCommerce] Changing button text in mini-cartSame problem here…
Just checked the mini-cart.php and the .po & .mo files and everything looks fine but all texts in the mini-cart widget are still appearing in english.
Any help will be appreciated, thanks in advanced.
Thanks a lot Marco!
Forum: Plugins
In reply to: [Social Login] [Plugin: Social Login] email already in useThis is not a solution at all, you can’t tell users to use a fake e-mail, I’m sorry but in my opinion this is a poor solution. Maybe you could add a “cancel” button in the pop-up window to cancel the login/register process and get back to login/register page (at least to close the popup window).
Nowadays, most people use several social networks and probably they are registered with the same email address. If we offer multiple options to login i think it’s difficult for users to remember if they registered with their twitter account or with their linkedin instead.
This is a great plugin after all, looking forward for this improvement!
Thanks Claude
Forum: Plugins
In reply to: [WTI Like Post] [Plugin: WTI Like Post] Order / Sort posts by Likes?Any news on this? I am also interested in this feature, it would be great to sort most liked posts per category.
Thanks Chitta for this great plugin.
<?php GetWtiLikePost(); ?> and a bit of code and configuration did the trick.
Forum: Fixing WordPress
In reply to: Has wpautop changed?Hey Gary,
just came across the same problem this morning. I was programming a new template and copied/pasted this function from my notes:
<?php remove_filter (‘the_content’, ‘wpautop’); ?>
and it didn’t work, I thought it could be a 3.0 bug at first but then I noticed there was a syntax error with the inverted commas. Just changed for this and now works like a charm:
<?php remove_filter ('the_content', 'wpautop'); ?>
Maybe too obvious, I guess this is not your issue, but hope this helps.
Marc