Risposte nei forum create
-
AutorePost
-
catarsiPartecipante
1) era un breve listato che riassumeva i due punti principali del problema
2) le informazioni necessarie sono quelle scritte sopra.. non sto usando nessun thema di nessuno ed è una questione valida in generale
3) levate allora il bottone code se non volete che la gente lo utilizzi o ne inserisca
catarsiPartecipantele informazioni sono state rimosse dal primo post..
catarsiPartecipanteproprio non capisco.. ti riferisci a “lunghe parti di codice”?
non credo che tutto il codice che sta in una schermata sia da definire lungo… avevo anche provato ad utilizzare il misterioso
<“pre”><“/pre”>
per l’inserimento codice…
catarsiPartecipantegià che ci sei mi dici anche che query cercare visto che nelle mie precedenti ricerche prima di postare non ho trovato soluzione al mio quesito?
catarsiPartecipanteforse ci sono …è che sto scrivendo troppo codice… credo ci sia una super scorciatoia che ci sfugge per fare questo… proprio nel caricamento dei loop…
catarsiPartecipantegrazie Titti.. ci sto provando da ieri ma ancora non riesco… sono troppo scarso in php!
catarsiPartecipantebene, ho risolto da solo .. scrivo qui per i “posteri”…
l’errore era nell’ array di defoult che viene caricato da post.php che limita a 5 posto automaticamente… poi perché me lo beccava qui visto che ridefinisco ‘numberposts’ non lo so …
catarsiPartecipanteoh no scusami il commento era per me il codice va inteso solo come :
$args = array ( ‘numberposts’ => 999, ‘order’=> ‘ASC’, ‘orderby’ => ‘title’ );
$postslist = get_posts( $args.’&category=4′ );
foreach ($postslist as $post) : setup_postdata($post); ?>
funziona e gli articoli di cat 4 sono + di dieci
ma semrpe sei me ne mostra
catarsiPartecipantese riuscissi a trovare la API di you tube… vado nel sito indicato ma non la trovo!!!
-
AutorePost