AIAC
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [WooCommerce] Marketing menu not showing for shop manager roleSame problem here – we have custom role and everything worked fine. Now we have no link in menu. We tried with those caps, without luck:
$role->add_cap("edit_others_shop_orders"); $role->add_cap("edit_shop_order_terms"); $role->add_cap("edit_shop_orders"); $role->add_cap("read_shop_order"); $role->add_cap("manage_woocommerce_coupons"); $role->add_cap("edit_shop_coupon"); $role->add_cap("read_shop_coupon"); $role->add_cap("delete_shop_coupon"); $role->add_cap("edit_shop_coupons"); $role->add_cap("edit_others_shop_coupons"); $role->add_cap("publish_shop_coupons"); $role->add_cap("read_private_shop_coupons"); $role->add_cap("delete_shop_coupons"); $role->add_cap("delete_private_shop_coupons"); $role->add_cap("delete_published_shop_coupons"); $role->add_cap("delete_others_shop_coupons"); $role->add_cap("edit_private_shop_coupons"); $role->add_cap("edit_published_shop_coupons");
If we use link provided by @azalbert we can edit coupons
Do you have wp_footer() in your footer template file?
Now it is working ??
I figured it out!
This causing the issue (from functions.php):
function my_theme_add_editor_styles() { if( !is_admin()){ wp_deregister_script('jquery'); } wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.9.2/jquery.min.js"), false, '1.9.2'); wp_enqueue_script('jquery'); } add_action( 'init', 'my_theme_add_editor_styles' );
It has to be ‘wp_enqueue_scripts’ action instead of ‘init’!!!
OK, i looked up the site where maps are working correctly – it seems that I dont have footer scripts in my template…
I added <?php wp_footer(); ?> into my footer template, it shows up default WP scripts, but there is still no google maps scripts…
Got the same issue. WordPress 3.6, no additional plugins.
Viewing 6 replies - 1 through 6 (of 6 total)