<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Write a Plugin for WordPress Multi-Site	</title>
	<atom:link href="https://www.shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Fri, 03 Apr 2020 16:58:15 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Andrew		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-951088</link>

		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Fri, 03 Apr 2020 16:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-951088</guid>

					<description><![CDATA[Hi,

action &#039;wpmu_new_blog&#039; has been deprecated. Use ‘wp_insert_site’ instead.]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>action &#8216;wpmu_new_blog&#8217; has been deprecated. Use ‘wp_insert_site’ instead.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: An Quach		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-929724</link>

		<dc:creator><![CDATA[An Quach]]></dc:creator>
		<pubDate>Tue, 19 Dec 2017 03:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-929724</guid>

					<description><![CDATA[I always use single site because it&#039;s easy for me to managed. When I need another worpdress on subdomain or subfolder, I just install a new single site for it.

Is it better if I use multi-site wordpress?]]></description>
			<content:encoded><![CDATA[<p>I always use single site because it&#8217;s easy for me to managed. When I need another worpdress on subdomain or subfolder, I just install a new single site for it.</p>
<p>Is it better if I use multi-site wordpress?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jacco		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-911886</link>

		<dc:creator><![CDATA[Jacco]]></dc:creator>
		<pubDate>Sat, 17 Dec 2016 16:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-911886</guid>

					<description><![CDATA[I got a tricky question for you... When I write my plugins and use 
    Include_once(&quot;settings.php&quot;)
or I use
    include_once( __FILE__, &quot;settings.php&quot;)
(Wish I was at my computer so I can get the right syntax but hopefully you understand what I&#039;m doing there)

If I do the former and go into my individual sites and activate the plugin, whenever I then open up the multisite dashboard all I see is an error about the user not being found. I have to return to the site dashboard and deactivate the plugin then go back to the network dashboard and activate it from there using netowk activate...only for it to tell me it can&#039;t find the settings file... Thus I change to the latter format for specifying the file&#039;s location and then thhe network activate option works perfectly... But when I open any of my sote&#039;s dashboards it tells me it van&#039;t find the user and thus my entire dashboard is history...

So I go back to my main dashboard, deactivate the plugin, go back to my site dashboard and activate it there...only to find it can&#039;t find the settings.php file...

So what&#039;s the deal here? Hiw do I include a settings file that is in the root of my plugin&#039;s folder in such a way that I can enable the plugin either from my individual site(s) or via network activate without the one destroying the dashboard of the other???]]></description>
			<content:encoded><![CDATA[<p>I got a tricky question for you&#8230; When I write my plugins and use<br />
    Include_once(&#8220;settings.php&#8221;)<br />
or I use<br />
    include_once( __FILE__, &#8220;settings.php&#8221;)<br />
(Wish I was at my computer so I can get the right syntax but hopefully you understand what I&#8217;m doing there)</p>
<p>If I do the former and go into my individual sites and activate the plugin, whenever I then open up the multisite dashboard all I see is an error about the user not being found. I have to return to the site dashboard and deactivate the plugin then go back to the network dashboard and activate it from there using netowk activate&#8230;only for it to tell me it can&#8217;t find the settings file&#8230; Thus I change to the latter format for specifying the file&#8217;s location and then thhe network activate option works perfectly&#8230; But when I open any of my sote&#8217;s dashboards it tells me it van&#8217;t find the user and thus my entire dashboard is history&#8230;</p>
<p>So I go back to my main dashboard, deactivate the plugin, go back to my site dashboard and activate it there&#8230;only to find it can&#8217;t find the settings.php file&#8230;</p>
<p>So what&#8217;s the deal here? Hiw do I include a settings file that is in the root of my plugin&#8217;s folder in such a way that I can enable the plugin either from my individual site(s) or via network activate without the one destroying the dashboard of the other???</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nadeem		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-793870</link>

		<dc:creator><![CDATA[Nadeem]]></dc:creator>
		<pubDate>Thu, 07 May 2015 09:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-793870</guid>

					<description><![CDATA[Nice article. its very helpful for plugins to compatible for multisites ... thanks alot]]></description>
			<content:encoded><![CDATA[<p>Nice article. its very helpful for plugins to compatible for multisites &#8230; thanks alot</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Paal Joachim		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-648018</link>

		<dc:creator><![CDATA[Paal Joachim]]></dc:creator>
		<pubDate>Thu, 05 Feb 2015 03:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-648018</guid>

					<description><![CDATA[Hey

It seems you can have a lot to offer when the WordPress core project on improving multisite is moving forward at make.wordpress.org/core
Could you perhaps update your article?

Have a great day!]]></description>
			<content:encoded><![CDATA[<p>Hey</p>
<p>It seems you can have a lot to offer when the WordPress core project on improving multisite is moving forward at make.wordpress.org/core<br />
Could you perhaps update your article?</p>
<p>Have a great day!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Writing a WordPress plugin for multisite &#124; Dr James Bayley		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-148824</link>

		<dc:creator><![CDATA[Writing a WordPress plugin for multisite &#124; Dr James Bayley]]></dc:creator>
		<pubDate>Mon, 09 Jun 2014 11:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-148824</guid>

					<description><![CDATA[[&#8230;] http://shibashake.com/wordpress-theme/write-a-plugin-for-wordpress-multi-site [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] <a href="http://shibashake.com/wordpress-theme/write-a-plugin-for-wordpress-multi-site" rel="nofollow ugc">http://shibashake.com/wordpress-theme/write-a-plugin-for-wordpress-multi-site</a> [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-140528</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Tue, 03 Jun 2014 00:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-140528</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-140426&quot;&gt;jacco&lt;/a&gt;.

It comes from WP core. I.e., the WP core code calls this function and passes in the proper networkwide value.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-140426">jacco</a>.</p>
<p>It comes from WP core. I.e., the WP core code calls this function and passes in the proper networkwide value.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jacco		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-4#comment-140426</link>

		<dc:creator><![CDATA[jacco]]></dc:creator>
		<pubDate>Mon, 02 Jun 2014 22:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-140426</guid>

					<description><![CDATA[Hi there

I am more than slightly confused by this line of code:
function shiba_activate($networkwide)

I can see you registering the function and I can see you using the $networkwide variable but I can&#039;t see $networkwide actually ever being set... Googling around doesn&#039;t tell me anything about the function receiving any parameters when the activation hook runs... so when and where and how does the $networkwide variable get it&#039;s value from?]]></description>
			<content:encoded><![CDATA[<p>Hi there</p>
<p>I am more than slightly confused by this line of code:<br />
function shiba_activate($networkwide)</p>
<p>I can see you registering the function and I can see you using the $networkwide variable but I can&#8217;t see $networkwide actually ever being set&#8230; Googling around doesn&#8217;t tell me anything about the function receiving any parameters when the activation hook runs&#8230; so when and where and how does the $networkwide variable get it&#8217;s value from?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jerome Gentolia		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-3#comment-97643</link>

		<dc:creator><![CDATA[Jerome Gentolia]]></dc:creator>
		<pubDate>Thu, 01 May 2014 21:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-97643</guid>

					<description><![CDATA[Can you do a multi-theme for multisites?]]></description>
			<content:encoded><![CDATA[<p>Can you do a multi-theme for multisites?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eberton		</title>
		<link>https://shibashake.com/wp/write-a-plugin-for-wordpress-multi-site/comment-page-3#comment-71476</link>

		<dc:creator><![CDATA[Eberton]]></dc:creator>
		<pubDate>Thu, 18 Apr 2013 23:02:38 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6694#comment-71476</guid>

					<description><![CDATA[Hello, anyone can help me with this plugin:
http://wordpress.org/extend/plugins/simple-ajax-shoutbox/

She work fine in a one wordpress, but broken with multisite.
I have try using the article, but no sucess.... :/]]></description>
			<content:encoded><![CDATA[<p>Hello, anyone can help me with this plugin:<br />
<a href="http://wordpress.org/extend/plugins/simple-ajax-shoutbox/" rel="nofollow ugc">http://wordpress.org/extend/plugins/simple-ajax-shoutbox/</a></p>
<p>She work fine in a one wordpress, but broken with multisite.<br />
I have try using the article, but no sucess&#8230;. :/</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/73 objects using disk
Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Lazy Loading (feed)
Minified using disk
Database Caching using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2024-12-17 18:58:05 by W3 Total Cache
-->