<?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: add_menu_page, add_submenu_page	</title>
	<atom:link href="https://www.shibashake.com/wp/add_menu_page-add_submenu_page/feed" rel="self" type="application/rss+xml" />
	<link>https://shibashake.com/wp/add_menu_page-add_submenu_page</link>
	<description>Adventures in WordPress</description>
	<lastBuildDate>Sat, 20 Jul 2013 16:52:09 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9</generator>
	<item>
		<title>
		By: Amarjit Jha		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-77277</link>

		<dc:creator><![CDATA[Amarjit Jha]]></dc:creator>
		<pubDate>Sat, 20 Jul 2013 16:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-77277</guid>

					<description><![CDATA[Great post. Helped me a lot. Thanks]]></description>
			<content:encoded><![CDATA[<p>Great post. Helped me a lot. Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Gabriel Harper		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-25218</link>

		<dc:creator><![CDATA[Gabriel Harper]]></dc:creator>
		<pubDate>Sat, 01 Sep 2012 00:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-25218</guid>

					<description><![CDATA[Regarding menu position for top-level menus... they DO replace the existing menu but you can get around it using decimals:

&lt;a href=&quot;http://gabrielharper.com/blog/2012/08/wordpress-admin-menu-positioning-conflicts/&quot; rel=&quot;nofollow&quot;&gt;http://gabrielharper.com/blog/2012/08/wordpress-admin-menu-positioning-conflicts/&lt;/a&gt;

Maybe not the prettiest solution but it has saved me a ton of headaches!]]></description>
			<content:encoded><![CDATA[<p>Regarding menu position for top-level menus&#8230; they DO replace the existing menu but you can get around it using decimals:</p>
<p><a href="http://gabrielharper.com/blog/2012/08/wordpress-admin-menu-positioning-conflicts/" rel="nofollow">http://gabrielharper.com/blog/2012/08/wordpress-admin-menu-positioning-conflicts/</a></p>
<p>Maybe not the prettiest solution but it has saved me a ton of headaches!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: NomikOS		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-24872</link>

		<dc:creator><![CDATA[NomikOS]]></dc:creator>
		<pubDate>Fri, 24 Aug 2012 23:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-24872</guid>

					<description><![CDATA[Thanks for the &quot;customizing the name of the first sub-menu&quot; tip!!! It&#039;s really helpful when you use jquery-based tabs.]]></description>
			<content:encoded><![CDATA[<p>Thanks for the &#8220;customizing the name of the first sub-menu&#8221; tip!!! It&#8217;s really helpful when you use jquery-based tabs.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Butch		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-20155</link>

		<dc:creator><![CDATA[Butch]]></dc:creator>
		<pubDate>Sat, 07 Jul 2012 21:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-20155</guid>

					<description><![CDATA[Hi SHIBA is there a way to add a meta box after add_menu_pag(); ??

other then coding a class to do it?]]></description>
			<content:encoded><![CDATA[<p>Hi SHIBA is there a way to add a meta box after add_menu_pag(); ??</p>
<p>other then coding a class to do it?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-13211</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Tue, 10 Apr 2012 19:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-13211</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-13193&quot;&gt;arjun&lt;/a&gt;.

http://codex.wordpress.org/Function_Reference/add_submenu_page

That last argument is a function.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-13193">arjun</a>.</p>
<p><a href="http://codex.wordpress.org/Function_Reference/add_submenu_page" rel="nofollow ugc">http://codex.wordpress.org/Function_Reference/add_submenu_page</a></p>
<p>That last argument is a function.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: arjun		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-13193</link>

		<dc:creator><![CDATA[arjun]]></dc:creator>
		<pubDate>Tue, 10 Apr 2012 13:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-13193</guid>

					<description><![CDATA[i used this code

add_action(&quot;admin_menu&quot;, &quot;createMyMenus&quot;);

function createMyMenus() {
    add_menu_page(&quot;My Menu&quot;, &quot;My plugin&quot;, 0, &quot;my-menu-slug&quot;, &quot;myMenuPageFunction&quot;);
	
	add_submenu_page( &#039;edit.php?post_type=theme&#039;, __(&#039;Theme Page Options&#039;), __(&#039;Theme Menu Options&#039;), &#039;edit_themes&#039;, &#039;theme_options&#039;, theme_options);
	
	
    add_submenu_page(&quot;my-menu-slug&quot;, &quot;My Submenu&quot;, &quot;Add Customer&quot;, 0, &quot;hello-world&quot;, &quot;mySubmenuPageFunction&quot;);
	add_submenu_page(&quot;my-menu-slug&quot;, &quot;My Submenu&quot;, &quot;View Customer&quot;, 0, &quot;view_user_detail&quot;, &quot;veiw_user_detail.php&quot;);


it shows sub menu but doesnt open the page of submneu of view user detail.php]]></description>
			<content:encoded><![CDATA[<p>i used this code</p>
<p>add_action(&#8220;admin_menu&#8221;, &#8220;createMyMenus&#8221;);</p>
<p>function createMyMenus() {<br />
    add_menu_page(&#8220;My Menu&#8221;, &#8220;My plugin&#8221;, 0, &#8220;my-menu-slug&#8221;, &#8220;myMenuPageFunction&#8221;);</p>
<p>	add_submenu_page( &#8216;edit.php?post_type=theme&#8217;, __(&#8216;Theme Page Options&#8217;), __(&#8216;Theme Menu Options&#8217;), &#8216;edit_themes&#8217;, &#8216;theme_options&#8217;, theme_options);</p>
<p>    add_submenu_page(&#8220;my-menu-slug&#8221;, &#8220;My Submenu&#8221;, &#8220;Add Customer&#8221;, 0, &#8220;hello-world&#8221;, &#8220;mySubmenuPageFunction&#8221;);<br />
	add_submenu_page(&#8220;my-menu-slug&#8221;, &#8220;My Submenu&#8221;, &#8220;View Customer&#8221;, 0, &#8220;view_user_detail&#8221;, &#8220;veiw_user_detail.php&#8221;);</p>
<p>it shows sub menu but doesnt open the page of submneu of view user detail.php</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-6220</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Thu, 11 Aug 2011 22:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-6220</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-6217&quot;&gt;Mike&lt;/a&gt;.

Yeah, I use the admin_menu action hook.
&lt;pre lang=&quot;PHP&quot;&gt;
add_action(&#039;admin_menu&#039;, &#039;my_admin_menus&#039;);
&lt;/pre&gt;

There is more example code in the WordPress Codex
http://codex.wordpress.org/Administration_Menus]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-6217">Mike</a>.</p>
<p>Yeah, I use the admin_menu action hook.</p>
<pre lang="PHP">
add_action('admin_menu', 'my_admin_menus');
</pre>
<p>There is more example code in the WordPress Codex<br />
<a href="http://codex.wordpress.org/Administration_Menus" rel="nofollow ugc">http://codex.wordpress.org/Administration_Menus</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mike		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-6217</link>

		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Thu, 11 Aug 2011 20:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-6217</guid>

					<description><![CDATA[I was wondering if you used the add_action(&#039;&#039;) function to initialize these options on a theme.]]></description>
			<content:encoded><![CDATA[<p>I was wondering if you used the add_action(&#8221;) function to initialize these options on a theme.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: ShibaShake		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-4306</link>

		<dc:creator><![CDATA[ShibaShake]]></dc:creator>
		<pubDate>Tue, 07 Jun 2011 14:52:01 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-4306</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-3761&quot;&gt;Enjak&lt;/a&gt;.

It would depend on whether you are adding the menu pages from a plugin or from a theme.

If you just want to add it into your existing theme, then it would be the functions.php file.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-3761">Enjak</a>.</p>
<p>It would depend on whether you are adding the menu pages from a plugin or from a theme.</p>
<p>If you just want to add it into your existing theme, then it would be the functions.php file.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Enjak		</title>
		<link>https://shibashake.com/wp/add_menu_page-add_submenu_page/comment-page-1#comment-3761</link>

		<dc:creator><![CDATA[Enjak]]></dc:creator>
		<pubDate>Mon, 30 May 2011 11:02:08 +0000</pubDate>
		<guid isPermaLink="false">http://shibashake.com/wordpress-theme/?p=6750#comment-3761</guid>

					<description><![CDATA[But please tell me what file ( .php ) in wordpress to put the code into ? &#062;&#062; function add_menu_page]]></description>
			<content:encoded><![CDATA[<p>But please tell me what file ( .php ) in wordpress to put the code into ? &gt;&gt; function add_menu_page</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using disk: enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn.shibashake.com
Minified using disk
Database Caching 3/36 queries in 0.017 seconds using disk (Request-wide modification query)

Served from: www.shibashake.com @ 2026-07-05 14:25:05 by W3 Total Cache
-->