Tag Articolo: wordpress

0Logo WordpressCentra verticalmente le immagini nella galleria wordpress predefinita

Non potevo credere che una ricerca su Google non avesse già trovato la risposta per questo: è pazzesco che non puoi semplicemente centrare verticalmente le immagini in una semplice galleria di immagini wordpress. Dopo tanto cazzeggio con CSS Ho trovato una risposta semplice
Leggi l'articolo completo

0Logo WordpressWordPress aggiornamenti progresso

Ho avuto un problema per un po 'di tempo in cui l'installazione di aggiornamenti wordpress non mostra alcun messaggio o il progresso. Gli aggiornamenti in generale fare installare, ma è difficile sapere quando gli aggiornamenti sono finiti. Ci sono alcune discussioni in linea con le possibili soluzioni, ma la maggior parte di loro non sono stati utili nel mio caso.
Leggi l'articolo completo

0Logo WordpressWordPress editor visuale che non funziona

Ho avuto un problema per un po 'di tempo in cui il pulsante di wordpress editor visuale ha smesso di funzionare. L'editor di codice andava bene, e il pulsante per l'editor visuale è presente, ma clic su di esso non ha alcun effetto. Dopo molte trafficando ho finalmente scoperto che era stato rotto da mia Content Security Policy!
Leggi l'articolo completo

0WordPress cache di Gravatar locale

Mi piace avere avatar indicati per le persone che commento sul mio blog. WordPress supporta il servizio gravatar nativamente consentendo così questo è molto facile. Tuttavia si tratta di un costo - l'accesso ai file esterni da un altro dominio aggiunge un sacco di tempo di caricamento più in forma di nuova DNS le ricerche, nuovo SSL connessioni per fare, eccetera. Non sarebbe bello avere gravatar archiviati localmente e serviti dal tuo server. Beh questo è quello che ho fatto per qualche tempo, se volete sapere come, continuare a leggere…
Leggi l'articolo completo

0Localizzazione dei link Amazon Affiliati

Di tanto in tanto riferisco prodotti sui miei vari siti web, e di solito collegarli ad Amazon per chiunque sia interessato ad acquistarli. Molto tempo fa ho usato per collegare con collegare un affiliati Amazon, ma mai guadagnato nulla da esso come il mio tipico lettori è ben distribuita in tutto il mondo. Purtroppo Amazon non forniscono un modo per reindirizzare i visitatori al loro sito di Amazon locale, pur conservando ai pagamenti affiliati. Ci sono varie soluzioni là fuori, ma tutti quelli che ho trovato avuto problemi con loro, così ho sviluppato la mia. ... Leggi l'articolo completo

5Logo WordpressAnnunci adsense sopra l'ultimo paragrafo di un post

You may have noticed that we’ve tweaked how we dis­play our adsense ads. We wanted some small text-only ads near the bot­tom of each art­icle, which would be added auto­mat­ic­ally. This took a little bit of tinker­ing, but even­tu­ally we developed a solu­tion which works well and does­n’t seem to knock page pro­cessing times much. Simply add the fol­low­ing code to your theme’s functions.php (non dimenticate di modificare gli ID adsense) … Leggi l'articolo completo

0bolla CommentoFacilmente impostare il genitore di un commento WordPress

As is doc­u­mented in the site update log, for a while we had a prob­lem with our theme where it was­n’t pos­sible to reply to a com­ment so that the reply would appear cor­rectly in a threaded way. We have no fixed this prob­lem, but have been left with a sig­ni­fic­ant num­ber of com­ments which really need edit­ing so it is easi­er to see what they are in reply to. With a stand­ard word­press install this requires going into the data­base and edit­ing there, which is very tedi­ous. Instead, we’ve used some simple func­tions to add an option to the com­ment-edit admin page, to set the com­ment par­ent there. Even­tu­ally this will be developed into a prop­er plu­gin to enable this func­tion­al­ity. For now the code is below, basta aggiungerlo al functions.php del vostro tema

Leggi l'articolo completo

1bolla CommentoCommenti Jetpack stile senza Jetpack

One of the best things about word­press is the built-in social aspect provided by com­ments. Get­ting your com­ment sec­tion right can be very import­ant to any web­site, includ­ing ours. Over the years we’ve exper­i­mented with vari­ous com­ment plu­gins includ­ing Dis­qus and more recently Jet­pack. How­ever, we’ve always ended up bring things back in house for man­age­ment, per­form­ance and pri­vacy reas­ons. When I moved back from Jet­pack com­ments I really missed some of the slick fea­tures provided by Jet­pack, both the social-net­work logins and the gen­er­al slick styl­ing. Any­way, to cut a long story short I finally had time today to take a good look at how word­press “does” com­ments and fig­ure out a way to build an in-house sys­tem which looks nice and slick like the com­ment inter­face provided by jet­pack. Best of all its sur­pris­ingly simple and does things the “prop­er” way…
Leggi l'articolo completo