Risposte nei forum create
-
AutorePost
-
kifulabPartecipante
Che io sappia no. Da quello che dici però mi pare molto semplice da realizzare come plugin. Potresti salvare le foto su db in modo da evitare i problemi di filesystem e permessi e poi per rappresentare le foto creare una pagina ad hoc sul tema.
kifulabPartecipanteIo ho uso il plugin qtranslate e ti posso dire che mi sono trovato benissimo. Per alcune cose ho dovuto modificarlo leggermente però è ben strutturato e IMHO uno dei migliori in giro
kifulabPartecipanteSe il budget te lo consente ti puoi sempre rivolgere ad esperti del settore: http://www.google.it/#hl=it&q=assistenza+wordpress&meta=&fp=c181a30884bcd663
kifulabPartecipante[…]
Vorrei che il blocco delle categorie presente nella sidebar, cosଠcome il blocco dei link, cambiassero a seconda della pagina in cui mi trovo. Quindi se seleziono la pagina Software, il blocco links presenti i link di tutte le software house con cui collaboro mentre nella pagina Hardware lo stesso blocco faccia sparire i link delle software house ma mettesse i link dei siti ufficiali dei fornitori. La stessa cosa legata alle categorie.
WordPress ha una struttura gerarchica dei template che ti permette di fare questo ed altro. Tutto quello che ti server è un po di tempo per studiare. Qui: http://codex.wordpress.org/Template_Hierarchy trovi la documentazione sulla gerarchia dei template.
Nel tuo caso puoi fare caricare sidebar diverse a seconda della categoria. Una cosa che mi viene cosଠdi acchito in mente potrebbe essere:
<
<?php
$categorie = array(2,3,4,5,6);
foreach($categorie as $categoria){
if(is_category($categoria)){
require_once “sidebar-{$categoria}.php”;
}
}
?>
Ovviamente è solo un esempio…
Mi rendo conto che WP è un editor per blog e non un vero e proprio CMS, essendo uno sviluppatore mi vorrei rendere conto in fretta se wp sarebbe in grado di venire in contro alle mie esigenze o se faccio prima a svilupparmi un’applicazione di backend e di frontend (come ho sempre fatto fino adesso).
Se non è un CMS cos’è?
Un’altra cosa …
Tra le cose che ho capito, è che se creo nuove pagine automaticamente wp me le presenta nel menu di navigazione.
C’è modo di creare una pagina (ad esempio homepage) e non inserire il link nel menu di navigazione? Vorrei che venisse fuori solo come homepage al posto dei post più recenti.
Nella funzione wp_list_pages() devi specificare l’id delle pagina da escludere: wp_list_pages(“exclude=XX”)
Non ho ancora fatto ricerche approfondite in internet perchè non ho molto tempo per capire se posso usare la piattaforma wordpress per lavorare, per questo posto qui sperando che qualcuno abbia le mie stesse necessità e che magari le abbia risolte o comunque mi possa dare utili consigli.
Inutile dirti che appena lo studi approfonditamente lo puoi usare per progetti molto complessi. C’è però anche la possibilità di usare il solo backend e creare un’applicazione tutta “tua” lato front.
Basta includere il file wp-blog-header.php in ogni file della tua applicazione per avere il framework a portata di mano.. Semplice no?
PS: Ovviamente con questo non intendo far fare a wp i miracoli […]
Li fa già
kifulabPartecipanteProvato ad usare i child themes?
kifulabPartecipanteTi ci vuole un po di programmazione. WordPress ha una funzione che si chiama
wp_insert_post()
che ti permette di inserire un articolo partendo da una variabile/array.
Quello che dovresti fare è realizzare un file php che vada a leggere tutti gli articoli del vecchio sito e inserirli tramite wp sul nuovo dall'interno di un ciclo. E' più facile a farsi che a dirsi.
kifulabPartecipantePrima del loop devi usare la funzione query_posts() ordinando per “rand” (casuale)
qui trovi l’esempio: http://codex.wordpress.org/Template_Tags/query_posts
kifulabPartecipanteProva a controllare la presenza di chiamate a funzioni php come
eval()
o
base64_decode()
.
Se hai la possibilita di entrare sul server da riga di comando, e sempre se è linux ovviamente, da dentro la cartella dell'installazione di wordpress digita:
grep -ri "eval(" .
o con base64_encode() per vedere se trovi le chiamate a queste funzioni. Alternativamente puoi scaricare tutti i file dell'installazione e cercare sulla copia usando degli strumenti di ricerca avanzati.
Di solito questo genere di attacchi vanno ad inserire porzioni di codice all'interno dei file wp sfruttando configurazioni di permessi errate
Facci sapè
ciao
kifulabPartecipanteHai controllato il risultato in html di
action="<?php bloginfo('home'); ?>/search"
?
kifulabPartecipanteA me è successa la stessa cosa ed era un errore javascript. Praticamente con le nuove versioni di wp gli script javascript vengono inclusi nel footer, anzichè nell’header, tramite load-scripts.php. Questo provoca dei problemi a quei javascript (tipicamente quelli dei plugin) che non aspettano il completamento del DOM per eseguire le varie funzioni.
Secondo me dovresti quindi provare a disabilitare tutti i plugin riabilitandoli uno alla volta per capire quale è che provoca l’errore js.
-
AutorePost