Archives du mot-clef WordPress

Thème from scratch, v2

Bon, on recommence.

À peine ai-je décou­vert Sand­box et com­mencé à tra­vailler des­sus que je me rends compte que je suis en 2008. Et qu’en 2009, les theme fra­me­work ont beau­coup évolué.

J’ai donc beau­coup cher­ché et hésité. La liste ci-dessous est le résul­tat de mes recherches.

  1. Pre­mière géné­ra­tion : K2. Il intro­duit l’idée de « super-thème » (advan­ced tem­plate) et de thèmes enfant (styles). Il n’a pas été suivi (il conti­nue à être déve­loppé, mais il n’attire pas les foules ou les inspirations).
  2. Deuxième géné­ra­tion : Sand­box. Il devient la base de nom­breux déve­lop­pe­ments et, en fait, est le père de (presque  ?) tous les fra­me­works de thème actuels. Peut-être doit-il son suc­cès à son dépouille­ment, qui incite jus­te­ment à regar­der le fra­me­work comme un fra­me­work, et non comme un thème avec des fonc­tions en plus.
  3. Troi­sième géné­ra­tion : Car­ring­ton (le plus puis­sant appa­rem­ment, il lorgne clai­re­ment sur le CMS, Hybrid, The­ma­tic, Vanilla (mon pré­féré sur le papier), WP Fra­me­work, et plein d’autres. Le terme styles de K2 est désor­mais appelé thèmes enfant (child themes)
  4. Qua­trième géné­ra­tion : The Future of Word­Press Themes 2009.
  5. Cin­quième géné­ra­tion : Le Futur de Word­Press : les thèmes enfants, gage de qua­lité.

J’ai hésité à ins­tal­ler Vanilla, qui me semble le plus inté­res­sant (tout comme le logi­ciel de forum épo­nyme), mais il n’est pas finalisé.

Fina­le­ment, je me suis décidé à ins­tal­ler Car­ring­ton, dans sa ver­sion JAM. C’est une ver­sion dépouillée de toute CSS (et aussi un peu en avance sur Carrington/Blog), donc idéale pour ce que je veux faire.

Et puis aujourd’hui, en 2011, j’ai décidé de pas­ser moins de temps à réin­ven­ter la roue et à plu­tôt par­tir de ce qu’avaient fait d’autres per­sonnes en uti­li­sant Twenty Ele­ven comme base du thème enfant du site (lata­pie dot name, quelle ima­gi­na­tion de ma part !).

WordPress Twenty Eleven: oversight regarding the tag

The small ele­ment have been reset by the CSS reset but no one thought to reac­ti­vate it later on: So here’s the fix:
small {font-size:80%}
Talk about it on the Twenty Ele­ven CSS feed­back page.

Je cherche une extension pour poster ses billets WordPress sur Google Plus

Tout est dans le titre. Il fau­drait que ça fonc­tionne aussi avec la pla­ni­fi­ca­tion de billets. Ce serait bien mais facul­ta­tif que l’on puisse aussi dis­cri­mi­ner en entrée (par exemple, sur la caté­go­rie ou le type) et en sor­tie (par exemple sur l’audience, le cercle). Je pose aussi la ques­tion sur le forum fran­co­phone Word­Press. Merci !

WordPress Twenty Eleven: making backend and frontend styling dynamically consistent

(Ori­gi­nal article) What I’d like for Twenty Twelve is a dyna­mic syn­cing bet­ween fron­tend and backend sty­ling. So far, styles are manually copied and pas­ted, it seems. What I sug­gest: moving from the present style.css and editor-style.css to a future common.css, style.css and editor-style.css. Use­ful for child themes, when adding styles in .entry-content or below (for ins­tance, my small fix).
  • Fron­tend and backend: common.css
  • Fron­tend only: style.css + @import(common.css)
  • Backend only: editor-style.css + @import(common.css)
(the name common.css may be ill-chosen)

Batterie de test pour wp-Typography

wp-Typography (et php typo­gra­phy, une abs­trac­tion), suc­ces­seur de Typo­grify, est une excel­lente exten­sion pour Word­Press qui prend en charge des modi­fi­ca­tions de contenu à la volée pour amé­lio­rer la typographie.
  • wp-Typography ne change pas votre texte, il applique les modi­fi­ca­tions à la volée. Ceci est très impor­tante car ça veut dire :
    • que ça prend plus de res­sources pro­ces­seur (mais c’est à miti­ger avec un module de cache comme W3 Total Cache) ;
    • que vos don­nées sont en sécurité.
  • De plus, à ma connais­sance, il n’y a pas de concur­rent à wp-Typography. Et c’est heu­reux (Per­fec­ting the Wheel ini­tia­tive).
Mal­heu­reu­se­ment, je ne sais pas pré­ci­sé­ment ce qu’il fait. Je sais bien en gros, mais j’aimerai une liste exhaus­tive. N’en n’ayant pas trouvé, j’ai décidé de la créer. Dont acte. Lire la suite

WordPress: « Perfecting the wheel » initiative

Ori­gi­nal post on Word­Press forum Word­Press is really great and plu­gins are even bet­ter. Still, som­thing that bothers me is that there is sim­ply to much simi­lar plu­gins. Beyond a given tre­shold, diver­sity is not a strength any­more, it is a weak­ness. A lot of plu­gin do the same thing or almost the same thing as others. This is beco­ming counter-productive and I (and cer­tainly other too) am spen­ding way too much time ins­tal­ling and deins­tal­ling — some­times lea­ving behind data­bases records that accu­mu­la­ted as a pile of junk. I am cal­ling for a anti-redundancy ini­tia­tive. I would call it the  « Per­fec­ting the wheel » ini­tia­tive. A lenghty a boring pro­cess to apply a « simi­la­rity index » to plu­gin and encou­rage coders to work toge­ther, merge their code… I do not believe it would kill up inno­va­tion, since there will always be deve­lop­pers willing to reinvent the wheel their way (some­time for good rea­son). But tools to make people aware of simi­lar pro­ject would already be a bles­sing. See how Ubuntu model is about avoi­ding redun­dancy. Cer­tainly, my idea itself is a rein­ven­tion and seve­ral people in the past have had the same idea. So, could you please point me toward such ini­tia­tive? Thank you and long live Word­Press! So, what should such an ini­tia­tive encompass?
  • list all plu­gins (automatic)
  • tag them (computer-aided thanks to the des­crip­tion field)
  • group them by simi­la­rity (automatic)
  • buzz about the ini­tia­tive for rai­sing crowd­sour­cing poten­tial (manual)
  • high­light dif­fe­rences (crowdsourcing)
  • add a « simi­lar plu­gin » field on the plu­gin page at wordpress.org to high­light the simi­la­rity (automatic)
  • refine simi­la­rity by detailling dif­fe­rences and simi­la­rity (crowdsourcing)
  • contact authors or simi­lar plu­gins, present dif­fe­rences and pro­pose a mer­ger (manual or crowdsourcing)
Any other idea?

SABRE plugin: no more registration spam

No. More. Regis­tra­tion. Spam. In one second. Ter­men­dously impres­sive. Sure, they will cir­cumvent it, and ano­ther arms race will start. But so far, so good. They say fight fire with fire I say: Fight fire with SABRE (My exem­plary story: 50 to 0 in 1 minute. Merci Didier !)