Home › Forum › Plugin e temi di WP › Inserire Articoli solo in alcune pagine
-
AutorePost
-
-
15 Maggio 2008 alle 21:22 #6668DavideRPartecipante
salve raga, volevo sapere se c’era qualche plug in o se c’era un modo per, quando io creo un nuovo articolo, inserirlo in una pagina già fatta.
Es.: le mie pagine sn. home, video, immagini
io voglio inserire il mio articolo solo in video. Come faccio??
GRAZIE TANTE!
Davide!
New wordpresser!
-
16 Maggio 2008 alle 10:14 #53685SteveAglAmministratore del forum
Es.: le mie pagine sn. home, video, immagini
io voglio inserire il mio articolo solo in video. Come faccio??
Non usi le pagine, ma le categorie.
Se la categoria video ha l’id 3, crei un file di template
category-3.php
che sarà dedicato esclusivamente ai post inseriti nella categoria video. Ovviamente in questo modo potrai avere una grafica differente per la categoria video. -
16 Maggio 2008 alle 10:52 #53697DavideRPartecipante
A me nn interessa avere una grafica differente ma pagine con contenuti differenti. se io clicco sulla pagina video mi devono apparire solo gli articoli video esattamente come appaiono nella home ma solo i video. La differenza stà che invece di creare categoria, devo creare pagine in modo tale che in ogni pagina posso inserire più articoli.
Se quello che dici tu è corretto, ti prego di farmi un esempio più concreto xkè forse nn sn riuscito a capirlo. Graze
Davide
-
16 Maggio 2008 alle 11:38 #53674ondapiPartecipante
mrbrown scrive
crei un file di template category-3.php che sarà dedicato esclusivamente ai post inseriti nella categoria
@DavideR questo fa proprio quello che dici
tu puoi anche inserire in una pagina una serie di articoli, il problema è come fa la pagina a decidere quali articoli postare, o li metti tutti oppure dividi gli articoli per categorie
(video,…) e ne scegli una
alcuni giorni fa ho lanciato al forum questo quesito, e proprio oggi rispolverando il wiki ho trovato una soluzione, forse ti potrebbe tornare utile
-
16 Maggio 2008 alle 13:03 #53677SteveAglAmministratore del forum
A me nn interessa avere una grafica differente ma pagine con contenuti differenti.
bene, le categorie servono proprio a questo
se io clicco sulla pagina video mi devono apparire solo gli articoli video esattamente come appaiono nella home ma solo i video.
benissimo, allora crea una categoria Video e posti lଠdentro tutti gli articoli che vuoi.
-
16 Maggio 2008 alle 15:35 #53701DavideRPartecipante
Grazie ragazzi, mi spiace, ma ancora nn riesco a capire! Cmq, essendo che comunque si tratta di inserire codice php ed essendo che nn sn io a dover utilizzare il wp ma un mio cliente abbastanza “niubbo”!Quindi, nn appena gli dirò di creare codice php lui mi dirà … COSA???????
Io cercavo un modo ja bello integrato alla pagina “Scrivi Articolo” tipo “Scegli in che pagina inserire l’articolo” come fattoo su joomla!
GRAZIE
DAVIDE!
-
16 Maggio 2008 alle 15:39 #53703wollyAmministratore del forum
la soluzione che ti hanno suggerita non presuppone nessun codice php.
devi semplicemente creare delel categorie e a quelle associare il post in fase di scrittura.
Finito tutto.
-
16 Maggio 2008 alle 16:17 #53706DavideRPartecipante
wolly, forse stai facendo un po’ di confusione tra pagine e categorie o forse la stò facendo io!! So che le PAGINE sn una cosa e le CATEGORIE un’altra! nel sito ho un menù orizzontale che mi crea bottoni solo quando creo nuove pagine… e nel menù a sinistra la voce categorie con l’elenco delle categorie. Quello che dici tu, associa un articolo ad una categoria nn ad una pagina! o no?!?
se fosse come dice wolly, vi prego di spiegarmi click dopo click come fare !!
GRAZIE
DAVIDE
-
16 Maggio 2008 alle 16:39 #53709wollyAmministratore del forum
se clikki su una categoria crea in automatico una pagina con tutti i post di quella categoria
-
16 Maggio 2008 alle 20:13 #53710DavideRPartecipante
Fino a quଠc sn, ma come faccio a metterlo nel menù orizzontale? In quel menù mi appaiono solo le pagine.
il sito del mio cliente è questo: http://www.robertogetulio.it
GRAZIE
DAVIDE
-
16 Maggio 2008 alle 20:52 #53712wollyAmministratore del forum
non so come hai creato quel menu probabilmete con wp_list_pages, installa il plugin menubar e ci metti quello che vuoi.
p.s.: la prossima volta che devi fare un lavoro per qualcuno usa qualcosa che conosci perchè noi qui facciamo assistenza a wordpress non a chi poi rivende il nostro supporto gratuito.
-
17 Maggio 2008 alle 2:05 #53714DavideRPartecipante
wolly, tu sei libero di prestarmi assistenza o meno! Che poi io mi vada a vendere un sito, quelli sn fatti miei! Io ho solo chiesto chiarimenti sul funzionamento del WP e credo che siano informazioni che possano servire anche ad altri. Se vuoi approfittare delle mie curiosità per arricchire il forum – bene – altrimenti sei libero di agire come meglio credi!
Ciao
Davide
-
17 Maggio 2008 alle 4:45 #53715ondapiPartecipante
nel header.php dovresti trovare quella stringa che dice wolly
<?php wp_list_pages('title_li=&depth=1'); ?>
al termine della stessa e dentro al tag ul aggiungi il tuo link
- Video
se crei una categoria videousa il link all9id della categoria es: href="?cat=3"
altrimenti scegli tu il contenitore migliore per i video che wp ti mette a disposizione e poi linkalo, ma a questo punto wolly non ha tutti i torti
la prossima volta che devi fare un lavoro per qualcuno usa qualcosa che conosci
-
17 Maggio 2008 alle 8:22 #53720wollyAmministratore del forum
davide quello che hai chiesto è già stato discusso decine di volte, quindi non aggiungi nulla al forum.
Mi preoccupa molto vedere gente che vende cose che non conosce(io non faccio l’informatico quindi nessuna concorrenza o altro).
La prossima volta ua il tasto cerca che da me senza dubbio aiuto non lo otterrai.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.