rocboy001
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Hide WooCommerce Settings in admin paneldespachotres,
Try
// Remove Menu Items add_action( 'admin_menu', 'remove_menu_pages', 999); function remove_menu_pages() { $remove_submenu = remove_submenu_page('woocommerce', 'woocommerce_settings'); }Confirmed… It is the Multisite Install that is making this plugin break.
I’ve tried this plugin on a single install WP account, and it works perfectly w/ Custom Post Types. But this plugin does not work with Multi Site domains.
Hey Chris,
I’m trying to use the code about by mikizzi, but I am a little confused…
<?php if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('product-item', 'primary-image')) : ?> <a href="#"> <?php MultiPostThumbnails::get_post_thumbnail_url('product-item', 'primary-image'); ?> </a> <?php endif; ?>Is this correct? This is on an individual post page.
Thanks!
Hello.
OK, So I think I may figured out the problem… but not the solution!
This problem is not just only limited to this plugin, but also other category reorder plugins I tried.
Basically, If the plugin is “Network Activated”, the categories in subdomains and external domains are not displayed (they basically disappear) in the backend so you cannot reorder them.
BUT if the plugins are activated individually from each subdomain / external domain, than the plugins work!
So I am assuming there may be a code/snippet for categories specifically for WordPress Multisite that is causing this error in all category reorder plugins.
The strange thing is, plugins for post types still work even when it is “Network Activated”
I originally thought that the problem may have arisen from global_terms_enabled w/ MU, so I disabled it, but the problem still occurred.
Would love the feedback of these plugin developers to chime in and see if this is something that can be fixed!
Thanks!
Roc.