Home › Forum › Problemi Vari con WP › Inserimento nuovo articolo dal Front End
-
AutorePost
-
-
28 Luglio 2011 alle 14:40 #18703Andrea BarghigianiPartecipante
Salve a tutti ragazzi, sono due giorni che sbatto la testa nel vano tentativo di creare una pagina che mantenga le sembianze del mio blog ma che permetta ai miei utenti di inviare un nuovo articolo alla mia installazione di WP.
Ho quindi ben pensato di creare una Page Template con un form creato appositamente per l’occasione, questo form accetta informazioni come Titolo, Contenuto, Categoria e Tag, quindi tutti i componenti base di un articolo!
Se volete vedere il codice, al posto di sporcare queste pagine, ho pensato di postarvele su di un sito appropriato. Il form da me creato si suddivide in due file .php il primo, che rappresenta anche la pagina del frontend, non fa altro che creare la pagina ed il form necessario ed e’ possibile trovarla a questo link.
Mentre per l’invio del form ho pensato di creare un secondo file .php che potesse gestire l’inserimento e il codice di questo e’ invece presente a questo indirizzo.
Purtroppo testando questa pagina su FF la mia pagina rimane bianca mentre con Chrome mi restituisce questo errore:
Errore del server
Si è verificato un errore nel sito web durante il recupero di http://www.miosito.it/wp-content/themes/moi-tema/page-send-lavoro.php. Potrebbe non essere disponibile per manutenzione o essere configurato in modo errato.
I piu’ attenti di voi avranno notato che quello che sto cercando di inserire al momento non e’ un semplice articolo ma un Custom Post Type che vorrei permettere di far aggiungere dai miei membri.
Sarei curioso di sapere se qualcuno di voi ha mai fatto qualcosa di simile, io dalla mia ho provato a seguire questo tutorial http://wpshout.com/wordpress-submit-posts-from-frontend/ ma senza avere alcun risultato positivo…
Grazie mille in anticipo per l’aiuto che mi potreste dare!!!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.