Jimmy
Forum Replies Created
-
Brilliant, thank you guys!
Forum: Plugins
In reply to: [Maintenance Mode] Bypass by IP addressYeah you could also give login details, and have a setting in maintenance mode that allows certain user classes to bypass it +1
But the ip bypass also lets developers test certain functions for a “guest user”. Let’s says your building an ecommerce site and want to test placing an order from a completely new customer that has no account yet ??
Thanks for the quick reply!
Forum: Plugins
In reply to: [Maintenance Mode] "Maintenance Mode: Disabled" in admin bar for non-adminsIs it necessary to have “Maintenance Mode: Disabled” in the admin bar at all?
Shouldn’t we only be notified if Maintenance Mode is Active?
Forum: Plugins
In reply to: [Loco Translate] Translations lost with update woocommerceWooCommerce global directory should be in wp-content/languages/woocommerce
If your using the “languages/plugins” folder, the translation files will be overwritten upon updating the plugin…
Congratulations Tim, the old Codestyling Localization plugin is no longer available in the WordPress Plugin Directory. Loco Translate will probably become the no 1 translation tool for wordpress now ??
You should contact WooThemes and have better support for multiple .po files like wc uses.
As you can see here:
https://docs.woothemes.com/document/woocommerce-localization/They still recommend codestyling, even if it’s not available anymore ??
I wish they would recommend Loco instead.Forum: Plugins
In reply to: [WooCommerce] Hide empty attributes in filter widgetTry this:
.widget_layered_nav span { display: none; } .widget_layered_nav a + span { display: inline; }
Forum: Plugins
In reply to: [Loco Translate] Encourage developers to localize pluginsLovely!
If you could make the same Wiki for plugins, we could just refer the link to developers and encourage them to behave accordingly ??By the way, don’t know if I’ve mentioned this before but, I would love to see an option next to the Sync button called “Sync without pot file” or something like that. Not only do developers forget Text Domain and Domain path, they also tend to forget updating their .pot files ??
Forum: Plugins
In reply to: [Loco Translate] WooCommerce WooCommerce New BadgeWhat happens if you delete all the .pot files?
By the way, WooCommerce uses a new ‘safe upgrade folder’ nowadays:
\wp-content\languages\woocommerce\
Could Loco Translate support this?
WooCommerce also has two files but Loco Translate only support one right?
woocommerce-admin.pot woocommerce.pot
Forum: Plugins
In reply to: [WooCommerce] Building a plugin for custom atalog mode, ideas?That’s my issue, I want to make this as a plugin rather than have it depend on template files.
- I’m trying to create a function that automatically adds a class to the product post when my option is checked.
- I also want to create a function that only adds the ‘text’ if my option is checked.
But I’m pretty novice at php so I was looking for help ??
Forum: Plugins
In reply to: [Loco Translate] WooCommerce WooCommerce New BadgeNo probs ??
I’m guessing it has to do with the dash (-) and loco translate redirects to wrong file.
WooCommerce redirects to:
/wp-admin/admin.php?name=woocommerce%2Fwoocommerce.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate
WooCommerce Custom Product Tabs Lite redirects to:
/wp-admin/admin.php?name=woocommerce-custom-product-tabs-lite%2Fwoocommerce-custom-product-tabs-lite.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-custom-product-tabs-lite-sv_SE.po&page=loco-translate
WooCommerce New Product Badge redirects to:
/wp-admin/admin.php?name=woocommerce-new-product-badge%2Fnew-badge.php&type=plugin&poedit=languages%2Fplugins%2Fwoocommerce-new-badge-sv_SE.po&page=loco-translate
As you can see, both WooCommerce extensions (plugins) works fine, but WooCommerce is faulty.
Forum: Plugins
In reply to: [Loco Translate] WooCommerce WooCommerce New BadgeIt is not same package. It’s different packages Tim, each with their own text domain.
‘woocommerce’
‘woocommerce-new-badge’
‘woocommerce-custom-product-tabs-lite’Forum: Plugins
In reply to: [Loco Translate] Different textdomain than plugin folderThat fix solved it, but I had to Sync the .pot file inside the plugin folder first. Before Sync still no locale shown from global folder.
Perhaps we should encourage plugin authors to use this comment tag.
Forum: Plugins
In reply to: [Loco Translate] IdeasI’ve emailed the Swedish translation ??
The child theme, I think there was a problem to inherit the parent theme locale and syncing both theme strings, but I don’t remember.
5. What I meant by batch delete, was the packages. For instance, I only need to show all the sv_SE (Swedish) packages, not anything else. If you have 20 plugins or more, and every plugin has 10 language packages, there will be a pretty long list… So if you could have an option to only show you preferred language it would be great! Just an idea.
Here are some more ideas:
6. Markup trailing spaces. It’s not easy to see trailing spaces otherwise.
7. Add Button to copy source text to translation. To speed up the translating process.
8. Add Button to filter Non-translated strings. To speed up the translating process.
I would really love it if you could choose both the invoice and packing slip to be included in the ‘Admin New Order email’. As macintellect mentioned, you could then print both and ease the packing process without logging in to admin.
I’m also curious Ewout, why do you not want to do this?
Thanks for a great plugin Ewout!
Forum: Plugins
In reply to: [Opening Hours] CSS stylesheetsHe can add classes to his plugin page and fix the css. In the meantime you can still keep backend.css and add this code to your theme functions.php:
add_action( 'admin_init', 'my_remove_admin_styles', 30 ); function my_remove_admin_styles() { wp_dequeue_style( 'opening-hours-backend' ); // Opening Hours }
If you want to remove the frontend css you can use this:
add_action( 'wp_enqueue_scripts', 'my_remove_front_styles', 30 ); function my_remove_front_styles() { wp_dequeue_style( 'opening-hours-frontend' ); // Opening Hours }
Maybe there is a better code to use, but this works for me.
Forum: Plugins
In reply to: [Opening Hours] Placing the admin menu in a submenu to 'Settings'I understand. But if you used tabbed pages as well, it would go both ways.
Example: ImageI’m using a menu editor today, and then I could move only the topmenu of Opening Hours to a different place, as a submenu. And still access all the different Opening Hours pages ??