<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[creazione del primo plugin x wordpress]]></title><description><![CDATA[<p dir="auto">Ciao a tutti.</p>
<p dir="auto">io ho sempre lavorato in php. adesso volevo provare a creare un plugin per wordpress.</p>
<p dir="auto">volevo iniziare inserendo una voce a menu nel backend</p>
<p dir="auto">ho usato questo script di esempio ma non vedo la creazione della voce nel menu.</p>
<p dir="auto">dove sbaglio?</p>
<p dir="auto">&lt;?php*<br />
/<em><em><em>Step</em>2</em>(from</em>text<em>above).**/</em><br />
add_action('admin_menu','my_plugin_menu');</p>
<p dir="auto">/<strong><em>Step</em>1.</strong>/*<br />
function my_plugin_menu(){<br />
add_options_page('My Plugin Options', 'My Plugin','manage_options','my-unique-identifier','my_plugin_options');<br />
}</p>
<p dir="auto">/<strong><em>Step</em>3.</strong>/*<br />
function my_plugin_options() { if (!current_user_can('manage_options')){<br />
wp_die(__('You<em>do</em>not<em>have</em>sufficient<em>permissions</em>to<em>access</em>this<em>page.'));<br />
}<br />
echo '&lt;div class="wrap"&gt;';<br />
echo'&lt;p&gt;Here</em>is<em>where</em>the<em>form</em>would<em>go</em>if<em>I</em>actually<em>had</em>options.&lt;/p&gt;';<br />
echo'&lt;/div&gt;';<br />
}<br />
?&gt;</p>
<p dir="auto">Grazie<br />
Alessandro</p>
]]></description><link>https://dev.connect.gt/topic/209583/creazione-del-primo-plugin-x-wordpress</link><generator>RSS for Node</generator><lastBuildDate>Sun, 29 Nov 2026 02:15:52 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/209583.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Jan 2015 13:14:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to creazione del primo plugin x wordpress on Mon, 05 Jan 2015 11:46:56 GMT]]></title><description><![CDATA[<p dir="auto">qui trovi tutto! Visto che cono sci php non dovresti avere problemi!<br />
<a href="http://codex.wordpress.org/Administration_Menus" rel="nofollow ugc">codex.wordpress.org/Administration_Menus</a></p>
]]></description><link>https://dev.connect.gt/post/1183952</link><guid isPermaLink="true">https://dev.connect.gt/post/1183952</guid><dc:creator><![CDATA[ultima]]></dc:creator><pubDate>Mon, 05 Jan 2015 11:46:56 GMT</pubDate></item></channel></rss>