vensonkuchipudi
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] On checkout: This order status is “publish”. Cannot be paid.Having the same issue with a client. #following
Forum: Plugins
In reply to: [Rezgo Online Booking] Using Rezgo Plugin 2.1.1 in MultiSiteUsing WordPress 4.7 and Rezgo 2.2.5. Installed on a Multisite WordPress installation with the plugin loaded on the individual sites and not as a Network plugin.
I tried with the previous version to install as a Network plugin, but that didn’t work. So instead I installed it on the individual sites, but had to make the pathing changes to get it to work. REZGO_DIR and REZGO_URL_BASE were wrong otherwise.
Forum: Plugins
In reply to: [Rezgo Online Booking] Using Rezgo Plugin 2.1.1 in MultiSiteRevised for 2.2.5:
/* START MULTISITE CHANGES */
$full_path = realpath(__DIR__. ‘/../../’);
$plugin_dir = str_replace(WP_PLUGIN_DIR . ‘/’, ”, $full_path);
$plugin_path = plugins_url().’/’.$plugin_dir;
if ( is_multisite() ) {
$new_plugin_url = str_replace(get_home_url().’/’, network_home_url(), WP_PLUGIN_URL);
define(“REZGO_DIR”, strstr(preg_replace(‘/(https?\:\/\/)/’, ”, $new_plugin_url), ‘/’) . “/$plugin_dir/rezgo”);
define(“REZGO_URL_BASE”, strstr(preg_replace(‘/(https?\:\/\/)/’, ”, $new_plugin_url), ‘/’) . “/$plugin_dir”);
} else {
define(“REZGO_DIR”, strstr(preg_replace(‘/(https?\:\/\/)/’, ”, WP_PLUGIN_URL), ‘/’) . “/$plugin_dir/rezgo”);
define(“REZGO_URL_BASE”, strstr(preg_replace(‘/(https?\:\/\/)/’, ”, WP_PLUGIN_URL), ‘/’) . “/$plugin_dir”);
}
/* END MULTISITE MODIFICATIONS */Forum: Plugins
In reply to: [Oomph Clone Widgets] Not working with 4.3Same issue, so I found one solution.
Just change this line:
$(‘#widgets-right’).on(‘click’, ‘a.clone-widget’, Oomph.CloneWidgets.Clone);
To this:
$(‘#widgets-right’).on(‘click’, ‘.clone-widget-action’, Oomph.CloneWidgets.Clone);