All Questions
229 questions
0
votes
1
answer
519
views
Certain functions are undefined when called form mu-plugins
I have a correctly formatted php functions file in my mu-plugins/ directory.
When trying to use wp_is_mobile() or current_user_can(), I get an undefined function error.
Fatal error: Call to undefined ...
1
vote
0
answers
205
views
How can you use one database with multisite
I have two separate wordpress installations and two different domains. I am using one database with table prefixes. It works great but when I enter my content on one site it isn't reflected on the ...
0
votes
2
answers
805
views
Issue removing Media Editor Tabs -- Duplicate Items
I'm following the advice found in several places to remove tabs by using the following filter. However, the same number of tabs appear, the last one is simply displayed x number of times. I'm running ...
1
vote
1
answer
6k
views
get_option compatible with wordpress network (multisite)?
I have this function in a plugin that works on wp install but it doesnt work on wordpress MU.
if( !get_option( $option-name ) ) {
// something
} else {
// something else
}...
1
vote
1
answer
3k
views
Check if User exists in Wordpress Multisite
Hi I am creating a custom Form to Register a new user in Backend. The problem is how I check if the user exists in another website of my Wordpress Network? And if not how can I register the new user?
7
votes
1
answer
644
views
Auto Load Plugin Hooks inside Must Use Plugin
I am creating a custom MU plugin to run on a multi-site network. I am working on a function that will dynamically include files containing additional action and filter hooks based on the active ...
5
votes
1
answer
9k
views
What is a Network Activated Plugin Exactly?
I am a bit confused on the concept of an Active Plugin and a Network Activated Plugin
I am running WP 4.0 in a multisite setting. At this time I have 6 different domains in my "network".
In reading ...
0
votes
1
answer
185
views
Multiple Accounts on 1 email - Multisite
It seems like that on my Multisite I would want multiple accounts to be created from a single email. I have already tried the Allow Multiple Accounts plugin but yeah that does not work.
Any solution ...
0
votes
1
answer
52
views
Show image or notification on specific blog in multisite
I have a multisite. I am trying to create a simple plugin that will allow me to select website(blog) from the list of all website in my multisite.
How to show some image or notification(text or html ...
3
votes
1
answer
1k
views
How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
I'm making a plugin that creates new sites (WPMU), and also has its own widget that needs to be placed onto the new sites it creates.
The issue I'm having is that I can't get the plugin to insert (...
0
votes
1
answer
68
views
Force Network Activated Plugin to Run After Site Level Plugins
I have a custom plugin I created and network activated it on WordPress Multi-Site install. I plan to use this plugin to override/enhance functionality for plugins available on my installation.
The ...
0
votes
1
answer
393
views
Wordpress's is_plugin_active_for_network function not working for multisites
I am in need to do some operation if user clicks on Network Activate button on my WP Plugin (in WP Multisite).
But I noticed that Wordpress's is_plugin_active_for_network function not working for ...
2
votes
1
answer
2k
views
How to hide plugin from WordPress Multisite admin plugin list
I use the following snippet to hide the plugins from my plugins list:
function hide_plugin_trickspanda() {
global $wp_list_table;
$hidearr = array('plugin-directory/plugin-file.php');
$...
0
votes
1
answer
40
views
Is there going to an issue running different features of WP site in different subdomains?
I have a main site running in mydomain.com. I want to install an e-commerce plugin and want to run it in a subdomain shop.mydomain.com. In the future I may want to install an LMS plugin and run it in ...
3
votes
1
answer
219
views
How can a plugin run a script after being updated in MultiSite?
Imagine a WordPress MultiSite Network with plugin Foo in it (but only active on some of the sites). When upgrading plugin Foo from version 1.0 to 2.0, Foo would like to do some work in the database. (...
2
votes
2
answers
1k
views
Uninstalling plugins across all sites
I apologize for the weakness of my search-fu if this has been answered already.
I'm in the process of cleaning up and updating an aging multisite installation. One step in this is to identify and ...
2
votes
2
answers
2k
views
Multisite Widget/Content
I'm using WordPress multisite and need to display content across all subsites in the sidebar. This is a network of 50+ sites so updating all 50+ sidebars with this content every few days is not ...
0
votes
1
answer
726
views
Cannot add edit themes and add plugins after multisite update
After updating a multisite installation to WP 3.8, when in the My Sites Dashboard, hovering over "Themes" or "Plugins", no submenu pops out.
There are however submenus popping out of "Sites", "Users", ...
0
votes
1
answer
101
views
Each User has a Personal Blog
Is there a way for a website running Wordpress to have users register, and then each user have their own, personalized blog or page which others can see, or should I use another engine for this, and ...
0
votes
0
answers
24
views
Plugin on all site except primary one
I'm using Wordpress multisite on a SAAS project and I want to create a plugin which deals with my custom post types. I want them to be accessible on all sites except on the main site. Do I have to ...
0
votes
1
answer
4k
views
Add custom text color WordPress 3.9 TinyMCE 4 Visual editor
I had a code snippet which would help me to add some custom color to the visual editor text color dropdown along with the default colors. I'm pasting the snippet below.
function change_mce_options( $...
0
votes
1
answer
136
views
Wordpress MU LDAP connection failures
I'm using Wordpress 3.8.1, WPMU Ldap Authentication plugin 4.0.2 (This site fixes the deprecated WordPress functions ), and Linode Hosting with Linux CentOS 6 and I'm still having problems connecting ...
1
vote
1
answer
47
views
Multiple domains issue
we have a wordpress site that has been blocked in some countries in Middle East. so we bought a new domain and pointed it to the same root folder. the homepage is showing with the new domain but all ...
1
vote
1
answer
136
views
Solutions to repost categories into multisite blogs?
I have done a search on this topic but was unable to find a solution to this specific question involving wordpress multisite.
I currently have a wordpress network where domain.com is our main site ...
4
votes
2
answers
720
views
Using Vagrant for customizable Wordpress Multi-sites [closed]
Background:
My partner and I have a goal to create a customizable vagrant project that uses Wordpress multi site, as a local development environment.
Ideal Use Case: Various developers on our team (...
0
votes
1
answer
35
views
How to set the default options on an existing plugin in a WP MU new user install
When a new user signs up in WP MU install I would like to set the default options for a plugin that I have installed in the super admin account. I've read through so many posts but have not found out ...
-3
votes
1
answer
2k
views
turn off WooCommerce for a site in a multi site environment
I've just installed P3 (Plugin Performance Profiler) and it shows that WooCommerce & WooCommerce Subscriptions are active on every one of my subdomain multi sites.
How do I turn plugins off on on ...
1
vote
2
answers
19k
views
Is it possible to set up multistore in Woocommerce? [closed]
Is it possible to have a multistore in WooCommerce?
I want to divide my WooCommerce store into 3 distinct stores with the toys showing up in 3 different collection names called:
remote cars
robots
...
2
votes
1
answer
243
views
How to setup a Network Plugin across the network with only my settings?
I have setup a WP MU site and installed a plugin into the main MU site. I want this plugin enabled across all the sites and hidden from site admins if possible. I want the plugin settings to come from ...
0
votes
0
answers
163
views
Custom plugin breaks css.php on Multisite
I got a strange problem on a Multisite Install I run.
Everything works perfectly fine (Domain Mapping, Caching, whatever functions and Plugins I use, both forced and chooseable).
To enhance the ...
1
vote
0
answers
144
views
Custom table naming/access convention for multisite: $table_prefix vs base_prefix or other?
After WP3.8.1 upgraded, two plugins I made for my networks both stopped working. Each runs on a separate multisite install. I posted the error report on the Wordpress form: http://wordpress.org/...
0
votes
1
answer
139
views
Check if user is in a group of another site within multisite network [closed]
I'm using Woocommerce + the groups plugin on my main site to promote users to a 'Premium' group upon purchasing items which works great.
If a user on the main site then browses to the second site ...
0
votes
0
answers
63
views
Plugin menu replaced by another plugin?
Sorry if my title is not clear as i'm not sure what i'm asking. Haven't seen this issue in my searches on the stack-exchange sites. Note I am not the author of either plugin.
So the issue I am having ...
0
votes
2
answers
2k
views
WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?
I have a WPMU site in a subdirectory /new/. So my main URL is example.com/new. I have been able to use .htaccess and copy the index.php file into the domain to achieve just example.com for my main ...
1
vote
1
answer
195
views
Reset Wordpress website
I have a website to demo plugins, and I want to allow users to login, but I am not sure how to reset the website once they log out. Is there a way to create a separate instance of Wordpress for each ...
0
votes
0
answers
117
views
Integrating planning tools in wordpress
Is there a way in wordpress that can integrate planning tools e.g If I need to provide tools, for example a guest list manager or a budget calculator, how do I integrate an these along with the site ...
0
votes
1
answer
23
views
WordPress internationalization + domains
Hello Dear WordPress'ers,
I want to have a website on WordPress engine running with other languages too.
I want to have a website + domains, for example like that:
myblog.com - main
myblog.de - ...
0
votes
0
answers
55
views
Internationalization of Blog Posts
I have 4 domains all pointing to the same server with a server alias. They are like australia.com, america.com, china.com etc. So i have a domain for a couple of countries. I run a WordPress blog, but ...
0
votes
1
answer
140
views
Active Plugins for current blog in WP Multisite Network? [duplicate]
Simple question but I can't find an answer - how do I find whether the current blog in a multisite network has a given plugin activated (speaking about plugins that are available to all sites on the ...
0
votes
1
answer
59
views
Is it possible to create a login for restricted visibility?
I use eStore (from Elegant Themes) with Woocommerce to build a webshop. I want to add a login page for wholesalers to login and have access to different products (2014 collection) and different price ...
0
votes
1
answer
306
views
Frontpage Admin Bar Disappeared
I am on a multisite network. Recently my frontpage admin bar dissappeared but continued to show at backend. I disabled all the plugins, changed theme to twenty ten and twenty twelve also, but no ...
2
votes
1
answer
893
views
Disable multisite-wide plugins on specific sites
On a multisite network, I have some plugins that are network activated so they run on every site in the network. However, I want to disable all of the network active plugins on some of the sites.
How ...
0
votes
1
answer
1k
views
Storing Form data in a different database
I have two wordpress websites and I want to store the data submitted by the forms in a centralized database in order to better manage the information.
Is there a way I can store form data in a ...
0
votes
1
answer
77
views
WPMU If MU site has no administrator, deactivate site
So I been tinkering with this thought. Working w/ WooCommerce Subscriptions - if the user is a recurring paid member, they can create and manage their own subsite.
However, say the recurring payments ...
0
votes
2
answers
79
views
Multisite for Multisite?
Is there anyway I can allow users to create their own WordPress multisite network on my multisite network? It will be a premium service and will work much like reseller hosting, where the customer ...
3
votes
1
answer
4k
views
Getting Custom Post Type content from main-site of a Multisite
I have a multi-site network with 3 sub-sites:
Is it possible to "link" or include custom post to all 3 sites from the main site?
By include or link I don't mean to make other sites to edit them, I'm ...
0
votes
1
answer
192
views
Wordpress multisite haml templates
I'm building a very large Wordpress multisite at the moment and while I sort out the project at a top level I want to know if it's possible to use haml or phamlp for my templates instead of php.
I ...
1
vote
1
answer
49
views
Is the wordpress user-model changed in wpmu?
I'm running wpmu on heroku using a postgres extension. It works great, but I have a plugin that needs to get the userId based on the e-mail-adress. This is how it does it:
$sql = 'SELECT id FROM ' . $...
0
votes
1
answer
128
views
Plugin De/Activation Not Firing On MultiSite install
I have a very rudimentary plugin in development, but at the point of needing to enable the register_activation_hook() and register_deactivation_hook() I have stalled. I am getting zero output from ...
0
votes
1
answer
113
views
Completely remove ability to create users?
I have added the code below to a plugin:
add_action( 'admin_init', 'remove_add_users_cap' );
function remove_add_users_cap() {
$role = get_role( 'administrator' );
$role->remove_cap( '...