Home › Forum › Plugin e temi di WP › Come inserire un php code del content slider in un tema di WordPress?
-
AutorePost
-
-
28 Ottobre 2015 alle 10:43 #30249Dafni RuscettaPartecipante
ciao,
sto impazzendo perché sto tentando di ralizzare il mio sito, ma non ho affatto dimestichezza con lo strumento.
ho installato il tema WP ‘Health Center’ ed ho successivamente installato il plugin ‘Responsive Slider Plus Lightbox’, dopodiché l’ho attivato.
Ora, il problema è che non so dove andare a inserirlo, fisicamente, nel codice: in quale php file e, soprattutto, in quale riga o stringa?
Questo è lo Shortcode: [print_responsive_slider_plus_lightbox]
Questo, invece, il php code: echo do_shortcode(‘[print_responsive_slider_plus_lightbox]’);
Come e dove inserire uno di questi due codici affinché il mio content slider venga visualizzato in homepage? Inoltre, è sufficiente in quelal forma oppure devo generare un formato html prima di inserirlo?
Grazie, ciao
-
28 Ottobre 2015 alle 12:17 #119131TittiModeratore
Il tuo tema è a pagamento e noi non forniamo supporto ai prodotti commerciali, è il venditore che deve farlo, come scritto nel box qui sotto che sei pregato di leggere.
Per il plugin non hai inserito il link diretto (come richiesto), quindi non sapendo con esattezza di quale si tratta non possiamo leggere le istruzioni.
-
28 Ottobre 2015 alle 14:31 #119138Dafni RuscettaPartecipante
ciao Titti
e grazie per la tua risposta.
Il link al pugin dovrebbe essere questo: https://wordpress.org/plugins/wp-responsive-slider-with-lightbox/
No, il tema non mi sembra sia a pagamento, nel senso che io l’ho scaricato senza pagare assolutamente nulla…
Grazie per quanto potrai fare per aiutarmi, ciao Dafni
-
28 Ottobre 2015 alle 18:35 #119144TittiModeratore
Anche per il tema non hai messo e continui a non mettere il link, e come puoi vedere con il tuo “tema WP ‘Health Center'” c’è questo risultato in cui niente corrisponde a quello che hai scritto e il primo è un tema a pagamento. Non devo essere io a cercare il tuo tema, sei tu ad avere bisogno e a dover fornire le informazioni!
Il plugin funziona cosà¬: se vuoi lo slider in una pagina o in un articolo, devi scrivere nell’editor: [print_responsive_slider_plus_lightbox]
Se invece lo vuoi inserire altrove, tipo l’homepage come genericamente dici, dipende da dove (perché se lo vuoi in un widget che sta in home, andrà nel widget…), quindi via FTP devi aprire il file interessato e aggiungere nel punto in cui lo vuoi (previa creazione di un child-theme):
<?php echo do_shortcode("[print_responsive_slider_plus_lightbox]"); ?>
-
29 Ottobre 2015 alle 8:22 #119146Dafni RuscettaPartecipante
Grazie per le info Titti,
mi spiace per l’incompletezza delle informazioni, non è fatto per indolenza ma semplicemente perché sono neofita completo.
Al link che ho inserito prec edentemente non mi risulta la pagina Google di cui hai inserito il link, ma in realtà io continuo a visualizzare la pagina del plugin. Ma, ripeto, sono un neofita, è probabile che parliamo due linguaggi differenti.
Grazie per il tuo tempo.
saluti.
-
29 Ottobre 2015 alle 13:22 #119152TittiModeratore
Al link che ho inserito prec edentemente non mi risulta la pagina Google di cui hai inserito il link, ma in realtà io continuo a visualizzare la pagina del plugin.
Che assurdità .
Il mio link è il risultato di Google ottenuto con le “informazioni” che hai dato tu sul tuo tema! Cliccaci sopra (la scritta rossa) e vedi, e collegalo a ciò che ho scritto a proposito! Significa che da lଠnon è possibile per noi risalire al tuo tema!
Cosa c’entra il tuo link al plugin? Leggi! E fallo per tutte le volte che ti sono necessarie per capire. Ti ho già dato la risposta relativa al plugin, dove mettere il codice anche, nei limiti che ti si può dire non fornendo il link al tema come richiesto ben tre volte (compreso il box).
Chiudo, qui si tratta non solo di pura indolenza ma anche di mancata attenzione alle risposte, quindi è inutile continuare questa discussione paradossale. Non credo di aver mai usato cosଠtanti punti esclamativi, mi dispiace ma il tuo atteggiamento fa davvero perdere la pazienza perché rasenta la presa in giro.
La cosa che hai chiesto ti è stata ampiamente risposta, il mancante rientra nelle tue volontà .
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.