messages catégorisées: Wordpress

5Wordpress LogoAnnonces Adsense au-dessus du dernier paragraphe d'un poste

Vous avez peut-être remarqué que nous avons peaufiné la façon dont nous affichons nos annonces adsense. Nous voulions des petites annonces textuelles uniquement au bas de chaque article, qui seraient ajoutés automatiquement. Cela a pris un peu de rafistolage, 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 (ne pour-obtenir de ne pas changer vos identifiants AdSense) … Lire l'article complet

0Commentaire bulleFacilement configurer le parent d'un commentaire WordPress

Comme on le doc-u en œuvre dans le journal de mise à jour du site, 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, il suffit d'ajouter à la functions.php de votre thème

Lire l'article complet

1Commentaire bulleCommentaires Jetpack style sans 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, nous avons toujours fini par ramener les choses dans la maison pour la gestion, 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…
Lire l'article complet

9Wordpress LogoCode Rich Snippets pour le thème Twenty Eleven

J'ai déjà expliqué en détail le code pour permettre extraits riches en divers thèmes wordpress ([int­link id=“2948” type=“post”]Mystique 2[/intlink], [int­link id=“2949” type=“post”]Mystique 3[/intlink], [int­link id=“2468” type=“post”]Thèse[/intlink] & [int­link id=“3017” type=“post”]J'aime[/intlink]) ainsi que certaines [int­link id=“1520” type=“post”]instructions génériques[/intlink]. Ci-dessous un ensemble de modifications pour permettre aux extraits riches du wordpress intégré vingt onze thème.

Lire l'article complet

0Wordpress LogoCode des extraits enrichis pour Me Gusta thème

Je ai déjà couvert modifications à thème pour les extraits enrichis pour différents thèmes, y compris [int­link id=“2948” type=“post”]Mystique 2[/intlink], [int­link id=“2949” type=“post”]Mystique 3[/intlink], [int­link id=“2468” type=“post”]Thèse[/intlink] & [int­link id=“3015” type=“post”]Vingt onze[/intlink] ainsi que certaines [int­link id=“1520” type=“post”]instructions génériques[/intlink].  Voici les détails du code pour savoir comment valider extraits enrichis dans le Me Gusta par Cosmos thème.

Lire l'article complet

2Wordpress LogoCode des extraits enrichis pour 3.x Mystique

J'ai déjà écrit à propos du code des extraits enrichis pour[int­link id=“2948” type=“post”]Mystique 2[/intlink].  Il ya aussi des[int­link id=“1520” type=“post”]instructions génériques[/intlink] et le code pour les thèmes [int­link id=“3015” type=“post”]vingt onze[/intlink], [int­link id=“3017” type=“post”]J'aime[/intlink] et [int­link id=“2468” type=“post”]thèse[/intlink].  Ci-dessous le code mis à jour pour Mystique 3

Lire l'article complet

0Wordpress LogoCode Rich Snippets pour 2.x Mystique

En outre-tion à ce site j'ai une blog personnel où, entre autres, Je poste des recettes. J'ai récemment découvert recherche d'une nouvelle recette de google, et ont cherché à mettre en œuvre un soutien pour les microformats / microdonnées. Google fournit un outil pour ING arrivée votre balisage, appelé le "outil de test au snip-animaux riches". Quand j'ai essayé val-id-à-ment une de mes recettes, J'ai rencontré des erreurs diffé-rents, qui m'ont pris un certain temps à traquer et résoudre. … Lire l'article complet

0Wordpress LogoFixé: Erreurs PHP obsolètes dans le tableau de bord WordPress

Plus tôt aujourd'hui, je mis à jour notre site de test, en préparation pour le déploiement des mises à jour sur le site principal. Cela impliquait la mise à jour plusieurs plug-ins et de remplacer le plug-in « BeforeTheDeadline » avec Jetpack. Après avoir terminé les mises à jour, j'ai trouvé que je recevais plusieurs messages d'erreur sur le tableau de bord, dans le cadre du "liens entrants" widget Dashboard, et même plus d'erreurs quand je ai essayé de vider les caches W3 Total Cache.

Lire l'article complet

22Wordpress LogoRich Snippets Code pour thème de thèse

En réponse à une requête par Darko Kovan-cives sur mon pré-vi-ous art-icle sur[int­link id=“1520” type=“post”]fixing Rich Snip­pets code for the Mys­tique theme[/intlink] nous avons résolu les mêmes problèmes avec le thème Thèse. Les détails des changements requis sont ci-dessous.… Lire l'article complet

0Wordpress LogoMystique 3 Thème: Full-poste et extraits

I’ve been try­ing to fig­ure out how to dis­play full posts on the home page, and excerpts on all archives for about 3 days. This is nice because it means a decent amount of each post is shown on the front page, whilst archive pages con­tain a much more con­cise sum­mary of each post. This is bet­ter both for humans, and also for CET — my archive pages now don’t have duplic­ate con­tent from my home page!

I’ve finally pro­duced a solu­tion. It’s not espe­cially eleg­ant, but I’ve been at the very lim­it of my PHP know­ledge just to achieve this meth­od. This applies spe­cific­ally to the Mys­tique 3 thème, oth­er themes are likely to vary, although some of this inform­a­tion may or may not prove rel­ev­ant. If you are try­ing or suc­ceed in doing the same to a dif­fer­ent theme do drop a com­ment in.… Lire l'article complet