<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IoSmanetto.it - Blog programmazione e webdesign &#187; Html</title>
	<atom:link href="http://www.iosmanetto.it/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iosmanetto.it</link>
	<description>Il blog per tutti gli smanettoni del pc. Ogni giorno nuovi articoli sul webdesign e sulla programmazione</description>
	<lastBuildDate>Sat, 16 Apr 2011 16:19:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Convertiamo il footer &#8211; Realizziamo un theme wordpress</title>
		<link>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-parte-6/</link>
		<comments>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-parte-6/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 13:31:08 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[conversione]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=271</guid>
		<description><![CDATA[Indice guida - Introduzione - Convertiamo header - Commento prima parte del codice css - Convertiamo i post - Convertiamo la sidebar - Convertiamo il footer Convertendo il footer concludiamo la conversione generale del nostro theme wordpress. Nei prossimi articoli installeremo wordpress ed adatteremo easyTheme. Il footer ha una struttura abbastanza semplice. Si tratta di [...]]]></description>
			<content:encoded><![CDATA[<p><em>Indice guida<br />
</em></p>
<ol>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/">Introduzione</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-adattare-theme-wordpress-2/">Convertiamo header</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/">Commento prima parte del codice css</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%E2%80%93-parte-4/">Convertiamo i post</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-5/">Convertiamo la sidebar</a></em></li>
<li>- Convertiamo il footer</li>
</ol>
<p>Convertendo il footer concludiamo la conversione generale del nostro theme wordpress. Nei prossimi articoli installeremo wordpress ed adatteremo <a href="http://www.iosmanetto.it/wp-content/uploads/2009/12/easyTheme.png">easyTheme</a>.</p>
<p>Il footer ha una struttura abbastanza semplice. Si tratta di due contenitori ( #footer e #footer-main ) . Il primo contenitore avrà una larghezza dinamica ( occupa orizzontalmente tutta la pagina) . Mentre il secondo contenitore sarà un div di 999px centrato.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;footer&quot;&gt;
&lt;div id=&quot;footer-main&quot;&gt;Qui footer&lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p><br/></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#footer</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#D7D7D7</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#footer-main</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">999px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p><br/><br />
<object width="515" height="405"><param name="movie" value="http://www.youtube.com/v/auRU_cVZMZM&#038;hl=it_IT&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6&#038;border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/auRU_cVZMZM&#038;hl=it_IT&#038;fs=1&#038;color1=0x006699&#038;color2=0x54abd6&#038;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="515" height="405"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-parte-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alla realizzazione di un Theme WordPress – Parte 5</title>
		<link>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-5/</link>
		<comments>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-5/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:58:38 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=252</guid>
		<description><![CDATA[Indice guida - Introduzione - Convertiamo header - Commento prima parte del codice css - Convertiamo i post - Convertiamo la sidebar In questo articolo convertiremo la sidebar, parte fondamentale di un theme wordpress. La sidebar contiene informazioni utili per l&#8217;utente come gli archivi, le categorie e informazioni personali. Spiegare passo passo come convertire tutto [...]]]></description>
			<content:encoded><![CDATA[<p><em>Indice guida<br />
</em></p>
<ol>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/">Introduzione</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-adattare-theme-wordpress-2/">Convertiamo header</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/">Commento prima parte del codice css</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%E2%80%93-parte-4/">Convertiamo i post</a></em></li>
<li><em>- Convertiamo la sidebar</em></li>
</ol>
<p><strong>In questo articolo convertiremo la sidebar, parte fondamentale di un theme wordpress. La sidebar contiene informazioni utili per l&#8217;utente come gli archivi, le categorie e informazioni personali.</strong></p>
<p>Spiegare passo passo come convertire tutto il theme in html/css è davvero complicato . Dovrei scrivere una guida di minimo 50 pagine perchè ci vuole una solida conoscenza dell&#8217;html e del css. Per codesto motivo , ogni qual volta converto, registro ogni movimento del mio monitor.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="515" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/SRb17DJMDNI&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="515" height="405" src="http://www.youtube.com/v/SRb17DJMDNI&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="515" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/f9mK1I0KZP8&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="515" height="405" src="http://www.youtube.com/v/f9mK1I0KZP8&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<span id="more-252"></span><br />
Aggiungiamo al file index.html la struttura della sidebar:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&amp;lt;div id=&quot;sidebar&quot;&amp;gt;
 &amp;lt;div style=&quot;padding-top:0&quot;&amp;gt;Il mio profilo&amp;lt;/div&amp;gt;
 &amp;lt;div&amp;gt; &amp;lt;img src=&quot;&quot; width=&quot;119&quot; height=&quot;107&quot; /&amp;gt; Hello My name is ii isojdisssos
 sadjasioj dioasj dioasjdssdiasj
 asdjiasiodj ioasdj ioassdsdsdj
 asdji asiodj ioasjdijassdsddiojs
 sajid ioasdj ioasj dioassdsjiod
 asdk psoakdopk asdopk as &amp;lt;/div&amp;gt;
 &amp;lt;div&amp;gt;Ultimi post&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;qui titolo post ecc assdaads&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;I più visitati&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;qui titolo post ecc assdaads&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;div&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;div&amp;gt;Archivio&amp;lt;/div&amp;gt;
 &amp;lt;ul&amp;gt;
 &amp;lt;li&amp;gt;&amp;amp;raquo; &amp;lt;a href=&quot;#&quot;&amp;gt;Gennaio&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
 &amp;lt;/ul&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;</pre></div></div>

<p>Nel file style.css creiamo delle nuove regole per impostare lo stile della sidebar</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#sidebar</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">355px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> .title<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">22px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#69950F</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">oblique</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> .<span style="color: #993333;">text</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">160</span>%</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#666666</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> <span style="color: #6666ff;">.text</span> img<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">3px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#676767</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> ul<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> ul li<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">border-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#cccccc</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> ul li a<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> ul li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> .fLeft<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">165px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#sidebar</span> .fRight<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">right</span><span style="color: #00AA00;">;</span>width<span style="color: #00AA00;">:</span><span style="color: #933;">165px</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>In html per visualizzare una lista si usa il tag &lt;ul&gt;&lt;/ul&gt; . Ogni elemento deve essere racchiuso tra i tag &lt;li&gt;&lt;/li&gt;.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;ul&gt;
&lt;li&gt;Primo elemento&lt;/li&gt;
&lt;li&gt;Secondo elemento&lt;/li&gt;
&lt;/ul&gt;</pre></div></div>

<p>Per default i browser visualizzano accanto ad ogni elemento un puntino. Con la regola <em>list-style-type:none;</em> non facciamo altro che eliminare questo stile.</p>
<p>L&#8217;intero codice del theme è reperibile a questo indirizzo &#8211; <a href="http://www.iosmanetto.it/wp-content/uploads/2010/01/easytheme.zip">Download Theme WordPress</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alla realizzazione di un Theme WordPress – Parte 4</title>
		<link>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-4/</link>
		<comments>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-4/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 16:53:08 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[conversione]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=182</guid>
		<description><![CDATA[Indice guida - Introduzione - Convertiamo header - Commento prima parte del codice css - Convertiamo i post Eccoci al 4° appuntamento della guida . Oggi convertiremo i post del nostro theme wordpress. Aggiornare la index.html con questo nuovo codice : &#38;lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#38;gt; &#38;lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#38;gt; &#38;lt;head&#38;gt; &#38;lt;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; [...]]]></description>
			<content:encoded><![CDATA[<p><em>Indice guida<br />
</em></p>
<ol>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/">Introduzione</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-adattare-theme-wordpress-2/">Convertiamo header</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/">Commento prima parte del codice css</a></em></li>
<li><em>- Convertiamo i post</em></li>
</ol>
<p>Eccoci al 4° appuntamento della guida . Oggi convertiremo i post del nostro theme wordpress.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="515" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/PfLn8qkgKjA&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="515" height="405" src="http://www.youtube.com/v/PfLn8qkgKjA&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><span id="more-182"></span></p>
<p>Aggiornare la index.html con questo nuovo codice :</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;
&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&amp;gt;
&amp;lt;title&amp;gt;EasyTheme by iosmanetto.it&amp;lt;/title&amp;gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;
@import &quot;style.css&quot;;
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;div id=&quot;conteiner&quot;&amp;gt;
 &amp;lt;div id=&quot;header&quot;&amp;gt;
 &amp;lt;div id=&quot;logo&quot;&amp;gt;My &amp;lt;em&amp;gt;first&amp;lt;/em&amp;gt; theme&amp;lt;/div&amp;gt;
 &amp;lt;div id=&quot;slogan&quot;&amp;gt;Qui slogon wordpress&amp;lt;/div&amp;gt;
 &amp;lt;div style=&quot;clear:both&quot;&amp;gt;&amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;div id=&quot;main&quot;&amp;gt;
 &amp;lt;div class=&quot;post&quot;&amp;gt;
 &amp;lt;div class=&quot;title&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Qui titolo post&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
 &amp;lt;div class=&quot;detail&quot;&amp;gt;&amp;lt;a href=&quot;#&quot;&amp;gt;Nome Categoria&amp;lt;/a&amp;gt; | Autore | Data&amp;lt;/div&amp;gt;
 &amp;lt;div class=&quot;entry&quot;&amp;gt;qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo qui testo &amp;lt;a href=&quot;#&quot; class=&quot;more-link&quot;&amp;gt;Continua a leggere &amp;amp;gt;&amp;lt;/a&amp;gt; &amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;</pre></div></div>

<p>Ho aggiunto la struttura del post e modificato un piccolo particolare della header.</p>
<p>Prima della chiusura del div <em>header </em>ho inserito un contenitore(div) con un clear:both. Clear both specifica che gli elementi successivi non saranno adiacenti all&#8217;elemento float di <em>slogan</em>.</p>
<p>La struttura del post è la seguente</p>
<p>Nel div <em>title </em>ci andrà il titolo del post. In <em>detail </em>i dettagli del post come l&#8217;autore , le categorie e i tags .Infine in <em>entry </em>il testo del post.</p>
<p>Aprite il file style.css e inserite nell&#8217;ultima riga queste regole</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#main</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">540px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> .post<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> .title<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">24px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#326EA1</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.title</span> a<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#326EA1</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.title</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#326EA1</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> .detail<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">oblique</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.detail</span> a<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#000000</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.detail</span> a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> .entry<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">16px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">160</span>%</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.entry</span> .more-link<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">14px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#003366</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span><span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#main</span> <span style="color: #6666ff;">.post</span> <span style="color: #6666ff;">.entry</span> <span style="color: #6666ff;">.more-link</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>La maggior parte del codice lo conosciamo già. Occorre commentare i seguenti comandi :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span><span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">oblique</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span><span style="color: #933;"><span style="color: #cc66cc;">160</span>%</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">block</span><span style="color: #00AA00;">;</span></pre></div></div>

<ol>
<li>Effetto sottolineatura del testo non impostato</li>
<li>Effetto sottolineatura del testo impostato</li>
<li>Testo in corsivo</li>
<li>La distanza tre due righe di testo è uguale al 160% rispetto alle dimensioni del font</li>
<li>Trasformiamo l&#8217;elemento in un  blocco ( come un div )</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alla realizzazione di un Theme WordPress – Parte 3</title>
		<link>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/</link>
		<comments>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 22:14:20 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[conversione]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=121</guid>
		<description><![CDATA[Indice guida - Introduzione - Convertiamo header - Commento prima parte del codice css Oggi spiegheremo passo passo il codice css, scritto nell&#8217;articolo precedente. body&#123; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; &#125; #conteiner&#123; width:999px; margin:0 auto; padding:0 30px; &#125; #header&#123; padding:40px 0; &#125; #header #logo&#123; float:left; padding:0 30px 0 0; font-family:&#34;Times New Roman&#34;, Times, serif; font-size:36px; [...]]]></description>
			<content:encoded><![CDATA[<p><em>Indice guida<br />
</em></p>
<ol>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/">Introduzione</a></em></li>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-adattare-theme-wordpress-2/">Convertiamo header</a></em></li>
<li><em>- Commento prima parte del codice css<br />
</em></li>
</ol>
<p>Oggi spiegheremo passo passo il codice css, scritto nell&#8217;articolo precedente.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#conteiner</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">999px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">36px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3C3C30</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#slogan</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span> em<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#69950F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Prima di procedere, devo parlarvi di alcuni concetti chiave per la sintassi del css.<br />
Per attribuire una determinata proprietà a un elemento html , si usano i selettori . Sono selettori, nel nostro caso :<br />
&#8216;body&#8217;,'#conteiner&#8217;,'#header&#8217;,'#header #logo&#8217;,'#header #slogan&#8217; e &#8216;#header #logo em&#8217;.<br />
Se non avete mai smanettato in css, vi starete chiedendo cosa è  # ( sharp ) . Il simbolo sharp viene usato per selezionare un elemento della pagina HTML con un determinato id.<span id="more-121"></span></p>
<p>La prima regola che abbiamo scritto è :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<ol>
<li>Con il selettore &#8216;body&#8217; , diciamo al browser , che le regole dichiarate all&#8217;interno delle parentesi graffe , valgono solo per il tag body.</li>
<li>Dichiariamo che il margine dell&#8217;elemento è uguale a 0</li>
<li>Dichiariamo che lo spazio tra bordo elemento e contenuto è uguale a 0</li>
<li>Diciamo di usare il font Arial per i testi</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#conteiner</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">999px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<ol>
<li>Conteiner è l&#8217;id che abbiamo attribuito al div principale</li>
<li>Impostiamo larghezza uguale a 999px</li>
<li>Impostiamo margine superiore e inferiore a zero e i margini laterali dinamici.  Impostando i margini laterali in dinamici, il div si centra dinamicamente nella pagina.</li>
<li>Dichiariamo un padding di 30 px per i bordi laterali</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#header</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<ol>
<li>Selezioniamo l&#8217;elemento con l&#8217;id header</li>
<li>Impostiamo un padding superiore e inferiore uguale a 40 px</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">36px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3C3C30</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span></pre></div></div>

<ol>
<li>Selezioniamo l&#8217;elemento logo che si trova all&#8217;interno dell&#8217;elemento header</li>
<li>Spostiamo l&#8217;elemento a sinistra</li>
<li>Impostiamo un padding di 30 px per il lato destro</li>
<li>Usiamo un font-family Times New Roman</li>
<li>Dichiariamo che il testo deve essere a 36px</li>
<li>Impostiamo il colore del testo in #3c3c30</li>
<li>Il bordo destro deve essere di 1px di colore #cccccc. Solid è il tipo di bordo.</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#slogan</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<ol>
<li>Selezioniamo l&#8217;elemento slogan , all&#8217;interno dell&#8217;elemento header</li>
<li>Spostiamo l&#8217;elemento a sinistra</li>
<li>Impostiamo padding superiore a 15px e padding laterale sinistro a 30px</li>
</ol>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span> em<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#69950F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<ol>
<li>Selezioniamo il tag em</li>
<li>Impostiamo il seguente colore : #69950f</li>
</ol>
<p>Per chi non conosce il css , seguire i commenti, puo&#8217; essere certamente utile , ma è consigliabile la lettura di una guida .</p>
<p>Ecco la migliore in circolazione : <a href="http://css.html.it/guide/leggi/2/guida-css-di-base/">Guida css di base</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1678px; width: 1px; height: 1px;">http://css.html.it/guide/leggi/2/guida-css-di-base/</div>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/html/guida-alla-realizzazione-di-un-theme-wordpress-%e2%80%93-parte-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida alla realizzazione di un Theme WordPress &#8211; Parte 2</title>
		<link>http://www.iosmanetto.it/html/convertire-e-adattare-theme-wordpress-2/</link>
		<comments>http://www.iosmanetto.it/html/convertire-e-adattare-theme-wordpress-2/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 16:30:59 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[conversione]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=74</guid>
		<description><![CDATA[Indice guida - Introduzione - Convertiamo header La grafica che convertiremo passo passo è la seguente  My Easy Theme Si tratta , come accennato nell&#8217;articolo precedente, di una grafica molto semplice , studiata per chi non è tanto pratico . Un layout grafico, per buona regola,  si divide in tre parti : header , contenuto [...]]]></description>
			<content:encoded><![CDATA[<p><em>Indice guida<br />
</em></p>
<ol>
<li><em>- <a href="http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/">Introduzione</a></em></li>
<li><em>- Convertiamo header<br />
</em></li>
</ol>
<p>La grafica che convertiremo passo passo è la seguente  <a href="http://www.iosmanetto.it/wp-content/uploads/2009/12/easyTheme.png">My Easy Theme</a></p>
<p>Si tratta , come accennato nell&#8217;articolo precedente, di una grafica molto semplice , studiata per chi non è tanto pratico .</p>
<p>Un layout grafico, per buona regola,  si divide in tre parti : header , contenuto centrale e footer. La <strong>header </strong>è quella parte del sito, fissa in alto, composta da un logo e da un menu . Il <strong>contenuto</strong>, sono i testi centrali di ogni pagina. Invece il <strong>footer </strong>, è quella parte fissa in basso che contiene il copyright.</p>
<p>Oggi convertiamo la header del nostro theme.</p>
<p><img class="aligncenter size-full wp-image-88" title="easyThemeHeader" src="http://www.iosmanetto.it/wp-content/uploads/2009/12/easyThemeHeader3.jpg" alt="" width="479" height="62" /> Creiamo la pagina <em>index.html</em> , il file <em>style.css</em> e la cartella <em>images</em> .<span id="more-74"></span></p>
<p>Nel file style.css inseriamo il seguente codice :</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">body<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#conteiner</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">999px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">40px</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span><span style="color: #ff0000;">&quot;Times New Roman&quot;</span><span style="color: #00AA00;">,</span> Times<span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">36px</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#3C3C30</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">border-right</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span>
&nbsp;
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#slogan</span><span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">15px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#header</span> <span style="color: #cc00cc;">#logo</span> em<span style="color: #00AA00;">&#123;</span>
<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#69950F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Nel file index.html</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&amp;lt;!DOCTYPE html PUBLIC &quot;&amp;gt;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;
&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&amp;gt;
&amp;lt;title&amp;gt;Documento senza titolo&amp;lt;/title&amp;gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;
@import &quot;style.css&quot;;
&amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;div id=&quot;conteiner&quot;&amp;gt;
 &amp;lt;div id=&quot;header&quot;&amp;gt;
 &amp;lt;div id=&quot;logo&quot;&amp;gt;My &amp;lt;em&amp;gt;first&amp;lt;/em&amp;gt; theme&amp;lt;/div&amp;gt;
 &amp;lt;div id=&quot;slogan&quot;&amp;gt;Qui slogon wordpress&amp;lt;/div&amp;gt;
 &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;</pre></div></div>

<p>Mentre convertivo, ho registrato ogni singolo movimenti nel video qui sotto. Nel prossimo articolo cercheremo di commentare ogni riga di codice .<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="515" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/kAwIWnWqBt8&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="515" height="405" src="http://www.youtube.com/v/kAwIWnWqBt8&amp;hl=it_IT&amp;fs=1&amp;color1=0x006699&amp;color2=0x54abd6" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/html/convertire-e-adattare-theme-wordpress-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.iosmanetto.it/wp-content/uploads/2009/12/p.avi" length="1984000" type="video/x-msvideo" />
		</item>
		<item>
		<title>Guida alla realizzazione di un Theme WordPress &#8211; Parte 1</title>
		<link>http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/</link>
		<comments>http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 23:01:30 +0000</pubDate>
		<dc:creator>Gregorio</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[introduzione]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iosmanetto.it/?p=57</guid>
		<description><![CDATA[Questo articolo, è una piccola introduzione su quello che faremo nei prossimi appuntamenti.  Non spiegherò come disegnare il layout grafico, perchè è un argomento molto ampio, che spero di trattare più in là. Ci limiteremo a convertire una piccola grafica realizzata dal sottoscritto, ed adattarla al nostro amato WordPress. WordPress è uno dei piu&#8217; importanti [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-58" title="WordPress" src="http://www.iosmanetto.it/wp-content/uploads/2009/12/WordPress.png" alt="WordPress" width="113" height="113" />Questo articolo, è una piccola introduzione su quello che faremo nei prossimi appuntamenti.  Non spiegherò come disegnare il layout grafico, perchè è un argomento molto ampio, che spero di trattare più in là. Ci limiteremo a convertire una piccola grafica realizzata dal sottoscritto, ed adattarla al nostro amato WordPress.</p>
<p><a href="http://www.wordpress-it.it/"><strong>WordPress </strong></a>è uno dei piu&#8217; importanti e diffusi <strong>CMS </strong>( <em>content management system</em> ) per la gestione di un blog . I CMS non sono altro, che delle applicazioni , che facilitano  la gestione di un sito web.  WordPress ha fatto un gran successo perchè è molto semplice da adattare,da gestire e da implementare . E&#8217; facile da implementare grazie ai numerosi plugin in circolazione .  Anche noi possiamo fare un plugin ! E&#8217; davvero molto semplice .</p>
<p>Il template che andremo a convertire è molto easy . E&#8217; stato realizzato in modo da facilitare la <strong>conversione in CSS .</strong> Per chi non conosce il CSS, non vi preoccupate ! Spiegherò passo passo ogni riga di codice.</p>
<p>Nel prossimo appuntamento convertiremo il template !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iosmanetto.it/php/convertire-e-convertire-e-adattare-theme-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

