<?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[Post in home in base a ID]]></title><description><![CDATA[<p dir="auto">Ho Wordpress 3.1.1 e volevo mettere in home un tot di post fissi in base all'ID.</p>
<p dir="auto">Dovrebbe essere una cosa facilissima eppure non ci riesco, ho trovato e testato un tot di soluzioni ma niente.</p>
<p dir="auto">C'è qualcuno che ha un codice testato che funziona su 3.1.1, vorrei capire se è eventualmente un problema del tema o se sono io che inizio a perdere colpi, <em>cosa abbastanza probabile...</em></p>
<p dir="auto">Grazie in anticipo</p>
]]></description><link>https://dev.connect.gt/topic/159820/post-in-home-in-base-a-id</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 21:45:14 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/159820.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Oct 2011 15:35:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Post in home in base a ID on Mon, 24 Oct 2011 13:43:00 GMT]]></title><description><![CDATA[<p dir="auto">Prova leggere anche questo <a href="http://wpmods.com/make-post-sticky-wordpress/" rel="nofollow ugc">wpmods.com/make-post-sticky-wordpress/</a><br />
comunque mi sembra molto strano che il tuo tema non supporta gli sticky post...per curiosità che tema stai usando?</p>
]]></description><link>https://dev.connect.gt/post/1032040</link><guid isPermaLink="true">https://dev.connect.gt/post/1032040</guid><dc:creator><![CDATA[manetta]]></dc:creator><pubDate>Mon, 24 Oct 2011 13:43:00 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Mon, 24 Oct 2011 11:09:34 GMT]]></title><description><![CDATA[<p dir="auto">Questo forse ti può aiutare<br />
<a href="http://codex.wordpress.org/Function_Reference/query_posts#Retrieve_a_Particular_Post" rel="nofollow ugc">http://codex.wordpress.org/Function_Reference/query_posts#Retrieve_a_Particular_Post</a></p>
]]></description><link>https://dev.connect.gt/post/1032048</link><guid isPermaLink="true">https://dev.connect.gt/post/1032048</guid><dc:creator><![CDATA[katherine]]></dc:creator><pubDate>Mon, 24 Oct 2011 11:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 18:23:48 GMT]]></title><description><![CDATA[<p dir="auto">Forse è più semplice tramite tag...assegni un tag a quei due post e poi utilizzi il codice sopra sostituendo category con tag e al posto dell'id di categoria il nome del tag. Intanto ci penso, se mi viene in mente una soluzione migliore <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=2190ae3dadd" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/1032046</link><guid isPermaLink="true">https://dev.connect.gt/post/1032046</guid><dc:creator><![CDATA[katherine]]></dc:creator><pubDate>Sun, 23 Oct 2011 18:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 17:46:40 GMT]]></title><description><![CDATA[<p dir="auto">Grazie Katherine,<br />
anche se la soluzione funzionerebbe non è proprio il massimo.</p>
<p dir="auto">Credo che in seguito richiederò un intervento retribuito per sistemare un po di cose perchè non è l'unica che non va con questo tema ma non voglio cambiarlo...</p>
<p dir="auto">Grazie comunque perchè sei stata molto gentile.<br />
Buona serata</p>
]]></description><link>https://dev.connect.gt/post/1032029</link><guid isPermaLink="true">https://dev.connect.gt/post/1032029</guid><dc:creator><![CDATA[otta]]></dc:creator><pubDate>Sun, 23 Oct 2011 17:46:40 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 16:21:54 GMT]]></title><description><![CDATA[<p dir="auto">Allora puoi aggirare il problema così: crei una categoria a cui assegni solo quei due post (poi eventualmente la escludi da feed, sidebar, ecc...) e utilizzi quindi il codice che ti ho posto sopra....</p>
]]></description><link>https://dev.connect.gt/post/1032045</link><guid isPermaLink="true">https://dev.connect.gt/post/1032045</guid><dc:creator><![CDATA[katherine]]></dc:creator><pubDate>Sun, 23 Oct 2011 16:21:54 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 15:51:01 GMT]]></title><description><![CDATA[<p dir="auto">No in realtà a me quello che servirebbe è esattamente la possibilità di impostare due post fissi, quindi l'deale sarebbe gli stickypost che proprio non riesco a far funzionare.</p>
]]></description><link>https://dev.connect.gt/post/1032035</link><guid isPermaLink="true">https://dev.connect.gt/post/1032035</guid><dc:creator><![CDATA[otta]]></dc:creator><pubDate>Sun, 23 Oct 2011 15:51:01 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 15:44:58 GMT]]></title><description><![CDATA[<p dir="auto">Probabile, ma puoi fare sempre una prova con il tema di default per escludere altri problemi. Ma quindi a te servono gli ultimi due post pubblicati?</p>
]]></description><link>https://dev.connect.gt/post/1032043</link><guid isPermaLink="true">https://dev.connect.gt/post/1032043</guid><dc:creator><![CDATA[katherine]]></dc:creator><pubDate>Sun, 23 Oct 2011 15:44:58 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 15:01:57 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Manetta,<br />
grazie per la dritta ma purtroppo non riesco a far funzionare gli sticky post.</p>
<p dir="auto">Nella index ho impostato tre funzioni:</p>
<ol>
<li>ultimi 2 post presi da una categoria x</li>
<li>1 post random preso da categoria y</li>
<li>ultimi 2 post pubblicati</li>
</ol>
<p dir="auto">E' possibile che queste funzioni creino conflitto con la funzione sticky post?</p>
]]></description><link>https://dev.connect.gt/post/1032033</link><guid isPermaLink="true">https://dev.connect.gt/post/1032033</guid><dc:creator><![CDATA[otta]]></dc:creator><pubDate>Sun, 23 Oct 2011 15:01:57 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 12:40:24 GMT]]></title><description><![CDATA[<p dir="auto">La funzione è sticky post <a href="http://codex.wordpress.org/Sticky_Posts" rel="nofollow ugc">codex.wordpress.org/Sticky_Posts</a></p>
]]></description><link>https://dev.connect.gt/post/1032039</link><guid isPermaLink="true">https://dev.connect.gt/post/1032039</guid><dc:creator><![CDATA[manetta]]></dc:creator><pubDate>Sun, 23 Oct 2011 12:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 12:21:19 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Manetta,<br />
grazie per l'aiuto ma purtroppo da me non funziona altrimenti non avrei cercato una soluzione alternativa attraverso le ID.</p>
<p dir="auto">Non so perchè non funzioni, forse il tema, sai per caso qual'è il codice php che gestisce il display dei post impostati in rilievo in home?</p>
<p dir="auto">Magari manca solo il codice ed in un attimo risolvo così che sarebbe anche meglio...</p>
<p dir="auto">Grazie</p>
]]></description><link>https://dev.connect.gt/post/1032034</link><guid isPermaLink="true">https://dev.connect.gt/post/1032034</guid><dc:creator><![CDATA[otta]]></dc:creator><pubDate>Sun, 23 Oct 2011 12:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sun, 23 Oct 2011 08:13:13 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Otta,<br />
la risposta sembrerà banale ma perchè non metti il post in evidenza quando lo pubblichi usando l'apposita funzione nell'editor?<br />
Colonna destra &gt; Pubblica &gt; Visibilità &gt; Mantenere questo articolo sempre in prima pagina.</p>
]]></description><link>https://dev.connect.gt/post/1032038</link><guid isPermaLink="true">https://dev.connect.gt/post/1032038</guid><dc:creator><![CDATA[manetta]]></dc:creator><pubDate>Sun, 23 Oct 2011 08:13:13 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sat, 22 Oct 2011 18:32:47 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Katherine,<br />
grazie mille per il supporto, in effetti non intendevo ID della categoria ma proprio gli ID dei post, sai come potrei fare?<br />
Grazie</p>
]]></description><link>https://dev.connect.gt/post/1032032</link><guid isPermaLink="true">https://dev.connect.gt/post/1032032</guid><dc:creator><![CDATA[otta]]></dc:creator><pubDate>Sat, 22 Oct 2011 18:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to Post in home in base a ID on Sat, 22 Oct 2011 17:47:15 GMT]]></title><description><![CDATA[<p dir="auto">Ciao otta</p>
<p dir="auto">per ID intendi quello di categoria? In questo caso basta usare:</p>
<blockquote>
<p dir="auto">&lt;?php $myposts = get_posts('numberposts=5&amp;category=3');<br />
foreach($myposts as $post) : ?&gt;<br />
&lt;a href="&lt;?php the_permalink(); ?&gt;" rel="bookmark" title="&lt;?php the_title(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;?php setup_postdata($post); ?&gt;<br />
&lt;?php endforeach; ?&gt;</p>
</blockquote>
<p dir="auto">Altrimenti escludi tutti le altre categorie e verrà visualizzato il numero di post impostato nelle impostazioni di WP della sola categoria che non hai escluso.</p>
]]></description><link>https://dev.connect.gt/post/1032044</link><guid isPermaLink="true">https://dev.connect.gt/post/1032044</guid><dc:creator><![CDATA[katherine]]></dc:creator><pubDate>Sat, 22 Oct 2011 17:47:15 GMT</pubDate></item></channel></rss>