Risposte nei forum create
-
AutorePost
-
18 Maggio 2016 alle 10:39 in risposta a: Trasferimento da wordpress.com a wordpress.org, codici non funzionanti #120491sidney990Partecipante
Ieri ho seguito un paio di guide sia per creare cartella e file del child theme che per crearne uno in automatico tramite widget ma niente; non riesco a capire come sfruttarlo…
Sono riuscito ad inserire la funzione che serve a me nella sidebar tramite un plugin; peccato che i plugin me li fa inserire solo su footer e sidebar (non nel corpo della homepage come serve a me)…
17 Maggio 2016 alle 14:21 in risposta a: Trasferimento da wordpress.com a wordpress.org, codici non funzionanti #120488sidney990Partecipantema, ad esempio, online vedo molti che consigliano codici (html credo) per fare determinate azioni, tipo questo:
<?php
$args=array(
'cat' => 3,
'showposts' => 1,
'caller_get_posts' => 1
);
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<p>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></p>
<?php
the_excerpt();
endwhile;
} //if ($my_query)
wp_reset_query(); // Restore global post data stomped by the_post().
?>
Se io lo volessi nella homepage, devo copiarlo ed incollarlo nella pagina statica? Perchè, se cosଠfosse, direi che non funziona...17 Maggio 2016 alle 13:40 in risposta a: Trasferimento da wordpress.com a wordpress.org, codici non funzionanti #120484sidney990PartecipanteChiedevo, appunto, se eravate a conoscenza di un plugin che faccia la medesima azione; cioè permettermi di inserire in homepage un tot di articoli ripresi da una singola categoria…
17 Maggio 2016 alle 10:53 in risposta a: Trasferimento da wordpress.com a wordpress.org, codici non funzionanti #120479sidney990PartecipanteWordPress di default non ha nessun shortcode come quelli.
Tu però dovresti sapere a che plugin appartengono dato che li usi, e di conseguenza sapere o scoprire se tale plugin/codice per wordpress.com è compatibile o ha una sua versione per wordpress.org.
Oddio, non ho la minima idea di quale plugin utilizzasse quei codici… io, una volta creato il sito, li ho aggiunti senza installare alcun plugin ed hanno funzionato da subito.
Come posso modificarli per fare in modo che, ognuno di loro, mi mostri gli ultimi 3, 4 o 6 post di una determinata categoria su wordpress.org?
-
AutorePost