Daniel W
Forum Replies Created
-
Forum: Plugins
In reply to: [GlotPress] Allow users to import po filesTry to set user role to Translator and then check Give admin privileges.
- This reply was modified 4 years ago by Daniel W. Reason: Misspelled
Forum: Plugins
In reply to: [GlotPress] Add a custom language translation setI did manage to add a language by adding this to the locales.php
$sw = new GP_Locale(); $sw->english_name = 'Sranantongo'; $sw->native_name = 'Sranantongo'; $sw->lang_code_iso_639_1 = ''; $sw->lang_code_iso_639_2 = 'srn'; $sw->wp_locale = 'srn'; $sw->slug = 'srn'; $sw->google_code = 'srn'; $sw->facebook_locale = 'srn';
But this will disappear whenever there is an update for the plug.
Is it possible to add it as a hook or something to my child themes functions instead?
I just downloaded and installed 1.1.5
Call to undefined function wc_enqueue_js() … is back.
Forum: Plugins
In reply to: [Import and export users and customers] custom User roles not workingA list like this (quoted in the .CSV) will not work for me:
… ,”custom_role_1, custom_role_2, custom_role_3″, …
The role will then be the Default Role checked in the import settings.but a single role will be imported perfectly:
… ,custom_role_1, …Am I missing something obvious?
Forum: Plugins
In reply to: [Import and export users and customers] custom User roles not workingI have the same problem. I am using the slugs.
The custom user roles is initialized by functions.php
The users are exported to CSV via WP Users Exporter since it can export multiple roles.
Forum: Plugins
In reply to: [Booster for WooCommerce] Shortcode to specific input fieldAfter some trial and a lot of errors I found this to work:
[wcj_order_items_meta meta_key=”_wcj_product_input_fields_global_2″]
Table of meta key names for the shortcodes
Product Input Field #1 = _wcj_product_input_fields_global_1
Product Input Field #2 = _wcj_product_input_fields_global_2
Product Input Field #3 = _wcj_product_input_fields_global_3
etcNone of the above worked except this one:
<?php $wpo_wcpdf->custom_field('_billing_myfield14', 'Label: '); ?>
or
<?php $wpo_wcpdf->custom_field('_billing_myfield14'); ?>
Forum: Plugins
In reply to: [GP Bulk Download Translations] Bulk Download all .mo filesThat was too easy! Thanks!
(Embarrassing)
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] PrintPut everything in a @media print tag last in your regular CSS-file.
Then the regular page uses one layout on screen and one when printed. (No need of duplicate pages.)
@media print { .page-id-19314 #header, .page-id-19314 #sub-footer, .page-id-19314 #footer-widgets, .page-id-19314 #footer { display: none; } /* Get rid of bullets, and tightens up line spacing */ .page-id-19314 .entry-content ul li { list-style-type: none !important; } }
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] ERROR PARSING JSONMy part is solved in 3.1.4
Everything is fine in 3.1.4
Thanks for a quick answer.
I’m a bit lazy, so a button would suit me better ??
The error remains in 3.1.3
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] ERROR PARSING JSONI did move my comments to a new thread.
Forum: Plugins
In reply to: [ShiftController Employee Shift Scheduling] ERROR PARSING JSONMy error is “Unrecognized JSON from [site url]”