ryancole
Forum Replies Created
-
Forum: Plugins
In reply to: [Ultimate WP Mail] Subscribe form non-registered users@jaysupport noted, but regarding “add a checkbox to your existing registration form to subscribe to emails”
This option not actually rendering for UsersWP plugin registration form, not rendering also for default WP registration?form
Could this option (checkbox to subscribe) be added using shortcode?
- This reply was modified 3 years, 10 months ago by ryancole.
@1naveengiri Thanks! Created a support ticket.
@1naveengiri tried that and getting 404 still, you think we could add some function for this?
Forum: Plugins
In reply to: [Ultimate WP Mail] Shortcode is not displaying properlyCorrect shortcode is:
[subscription-interests display_interests=”post_categories,uwpm_categories”]Resolved!
- This reply was modified 3 years, 10 months ago by ryancole.
Forum: Plugins
In reply to: [fitness calculators] LOCO TranslaeFixed! here is the correct working code below, changed the path to be added to theme functions.php:
function fitness_calculators_init() {
$plugin_rel_path = ‘/fitness-calculators/languages’;
load_plugin_textdomain( ‘fitness-calculators’, false, $plugin_rel_path );
}
add_action(‘init’, ‘fitness_calculators_init’);Forum: Plugins
In reply to: [fitness calculators] LOCO TranslaeLoading the plugin translations should not be done during plugins_loaded action since that is too early. Calling load_plugin_textdomain() should be delayed until init action:
add_action(‘init’, ‘fitness_calculators_init’);
Forum: Plugins
In reply to: [fitness calculators] LOCO TranslaeSame issue here, the PO language files are not loaded. I tried adding the function below to theme’s functions.php, because the plugin is not calling “load_plugin_textdomain” still not working:
function fitness_calculator_init() {
$plugin_rel_path = basename( dirname( __FILE__ ) ) . ‘/languages’; /* Relative to WP_PLUGIN_DIR */
load_plugin_textdomain( ‘fitness-calculators’, false, $plugin_rel_path );
}
add_action(‘plugins_loaded’, ‘fitness_calculator_init’);Forum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?Ok, finally found resolution to this issue and tested for both languages on wpmobile native theme, as follows:
Start in: Block design > lists >
– On section/ before lists: use sorting shortcode from “WooCommerce Product Filter by WooBeWoo” plugin, will be like this: [wpf-filters id=1]
– On section/ after lists: use the default woocommerce shortcode: [products]
– On section/ Card content on lists: Leave empty
We will need to unset wpmobile function (wpappninja_show_card) to clear this section using custom php.- This reply was modified 4 years, 5 months ago by ryancole.
Forum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?Actually the widget area is displaying this shortcode: [wp-sorting], of which I created in order to call woocommerce sorting function (woocommerce_catalog_ordering) as explained above. Also the widget is used to display custom woocommerce filters.
The shortcode [wp-sorting] renders the usual woocommerce sorting select dropdown in wpmobile english version and working great except for the arabic version; it doesn’t render on page load, appears only after applying some filters, but even though still redirects to an error page.
Forum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?So what is the alternative sorting solution for wpmobile list?
* app-sidebar part is just a widget areaForum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?I think woocommerce default catalog sorting is not compatible with wpappninja product block list, as sorting is not working for non-english list, though it is working fine with english list! Could you create a custom function that sorts the block list for multiple languages?
Forum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?Hi Amauric, Sort switcher is not found, I appreciate if you could look at this sorting issue, only found in the mobile native theme:
Problem: sorting dropdown select box not showing on language site. Note that when dropdown box is embedded, it still doesn’t render any results:
English list page (sorting working with no issues)
Non-English list page (sorting not rendered)
– PHP Code used for sorting:
//woocommece product sorting shortcode
add_shortcode(‘wp-sorting’, ‘woocommerce_catalog_ordering’);
echo do_shortcode(“[wp-sorting]”);- This reply was modified 4 years, 5 months ago by ryancole.
Forum: Plugins
In reply to: [WPMobile.App] How to customize shop page in native theme?Thank you for your prompt reply. For the sorting, what if we want to give the end user the ability to select sorting option as to display a drop down above the product list?
Also, is there any way to edit the product list template, as for a better user experience, it is recommended to display price and add-to-cart button on front page list!
Forum: Plugins
In reply to: [WooCommerce] Checkout form – controlling order email fieldadd_filter( ‘woocommerce_billing_fields’, ‘unset_form_email’ );
add_filter( ‘woocommerce_checkout_fields’, ‘unset_form_email’ );
function unset_form_email ( $fields) {
if (is_user_logged_in()){
$fields[‘billing_email’] = $user->data->user_email;
unset ($fields[‘billing_email’]);
}
return $fields;
}Forum: Plugins
In reply to: [Wallet for WooCommerce] Translate rechargeable product titleFixed by editing woo-wallet rechargeable product from woocommerce products, change visibility and status to “publish”, then create a regular translation for the product page with WMPL or Polylang, then switch product back to hidden and private.