WordPress: Ntxiv Sau Cov Ntaub Ntawv hauv Sidebar

wordpress

HLOOV TSHIAB: Kuv tau tsim dua Sidebar Widget los tso saib Koj Cov Ntaub Ntawv Sau.

Hnub no tau tshaj tawm los ntawm Jon Arnold tau zoo heev rau cov lus qhia rau kev tsim lub vev xaib, tab sis kuv pom thawj cov lus pom ntaus nqi tshaj tawm rau kuv. Ntawd yog qhov kev piav qhia Kuv yuav tsum tau ua kom cov kws sau ntawv cov ntaub ntawv muaj npe nrov dua.

Kuv tsis tau tsim lub widget rau qhov no (thiab kuv xav tsis thoob tias tsis muaj leej twg muaj!), Tab sis kuv muaj peev xwm hloov kho kuv cov khoom noj sab hauv kuv qhov WordPress blog ntsiab lus thiab ntxiv cov cai hauv qab no:

Txog ntawm Tus Sau 

Ntawm ib nplooj ntawv nplooj ntawv tshaj tawm ib sab lus txuas ntxiv, ntxiv ib sab ntawm tus kws yees duab (siv a gravatar), lawv lub npe tag nrho, lawv lub tsev nplooj ntawv thiab lawv cov ntaub ntawv pov tseg raws li tau piav qhia hauv lawv cov ntaub ntawv siv neeg siv. Kuv ntxiv ob peb chav kawm los lis coj los ua kom cov gravatar ntab mus rau sab laug thiab qhov siab ntawm ntu tau qhov siab tsawg kawg yog qhov xwm txheej tus kws sau ntawv tsis muaj xov xwm.

get_the_author_meta('email') khaws email chaw nyob ntawm tus sau thiab dhau mus rau get_avatar muaj nuj nqi. Tus tau_avatar muaj nuj nqi txhais cov email rau tus cim uas xa mus rau gravatar server kom xa cov duab tsim nyog. Qhov no yog qhov tseem ceeb vim tias koj xav kom tsis txhob ua qhov chaw nyob email uas muaj nyob hauv qhov chaw ntawm nplooj ntawv… spammers nyiam sau emails.

Lwm cov ntaub ntawv yog muab los tsuas siv qhov_author_meta ntaub ntawv.

6 Comments

  1. 1
  2. 2

    Kuv puas tau pom tias kuv tus neeg nyeem ntawv RSS tseem tseem teev koj ua tus sau rau txhua daim ntawv tshaj tawm. Txhua lub caij nyoog ntawm tweaking uas yog li ntawd nws qhia tus sau lub npe hloov?

    • 3

      Tsaug rau taw uas, Ade! Ntawd yog qhov chaw Feedburner ua kom cov khoom noj tau tshaj iTunes (uas kuv tsis xav tau!). Qhov zoo siab, ntxiv tus neeg sau ntawv rau tus pub yuav xav tau qee qhov kev txhim kho!

  3. 4
  4. 5

    Koj puas npaj siab yuav host ntawd ntawm wordpress.org kom peb tau txais qhov hloov tshiab?

    thiab raws li nqe lus nug thib ob: yog tias kuv xav tso tawm piv txwv li AIM tsuas yog thaum nws tau sau rau hauv, kuv puas tuaj yeem siv tib tus lej los ua qhov ntawd lossis yuav uas tso tawm zoo li no: "AIM:" Kuv xav kom nws tsis muaj dab tsi yog tias tso zis yog npliag…

    Kuv yuav zaum hloov koj lub plugin rau kuv nplooj los tso tawm cov ntaub ntawv pov tseg thiab me ntsis cov ntaub ntawv ntxiv: kev sib cuag zoo li icq, aim, xfire thiab lwm yam.

  5. 6

    Douglas,
    Yuav ua li cas lub tswv yim zoo kawg koj widget ntxiv ib sidebar gravatar yog. (Kuv tau lees paub Kuv twb tsis paub lub sij hawm gravatar, txog thaum kuv ua raws koj qhov txuas txuas kom paub - ua tsaug). Kuv twv yuav raug hu mus nruab koj tus widget ntawm lub site ntawm kuv.

    BTW, ntau ntau ntawm cov ntaub ntawv zoo ntawm koj lub xaib, Kuv zoo siab kuv pom nws.

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.