I-WordPress: Jonga ukuba uMsebenzisi ungene

UJohn Chow wayenencam entle kwisiza sakhe namhlanje xa kuthunyelwa ikhonkco lentengiso kwindawo yakho kunye nokuqinisekisa ukuba ayikhange isetyenzisiwe ngaphandle kokulandela. Unokwenza oku ngephepha elilula elibhekisa phambili elithunyelwa nguJohn ikhowudi.

Ndifuna ukuyenza eyahlukileyo le. Kwimenyu yam ethe tye apha ngasentla, ukuthengiswa kwezindlu kunye nomhlaba kuyipremiyamu. Ndinalo ikhonkco lolawulo apho ukuba ndingenile ... kodwa wonke umntu, ayindawo engenanto leyo. Ndigqibe kwelokuba, kutheni ungatshintshi umxholo wale bar kwimeko yokuba lundwendwe hayi mna? Nge-WordPress, oku kulula kakhulu:


fumana_currentuserinfo ();
$ yomsebenzisi_level
ukuba ($ umsebenzisi_level> 0) {
wp_register ('> li class = "menuitem">', '> / li>');
} Enye {
i-echo "> li class = 'menuitem' >> a href = '/ go / tla.html' title = 'Yenza intengiso kule Webhusayithi'> Yazisa> / a >> / li>";
}
?>

Andenzanga dime ngayo Iintengiso Zekhonkco okwangoku kodwa ndifuna ukuyidubula kakuhle. Ibiza kakhulu kwindawo yam… $ 35 ngenyanga kwaye ndifumana ngaphezulu kweendwendwe ezingama-500 ngosuku. Ndijonge phambili ekukhonzeni ezinye zazo!

5 Comments

  1. 1

    Umbono opholileyo!

    Nangona bendingathanda ukulihlaziya ikhonkco elikhomba kulo - ngoku likubuza iinkcukacha zakho zokungena. Hayi uhlobo lwephepha endandifuna ukubuliswa ngalo, ukuba ndandiza kuba ngumpapashi 😉

  2. 3

    Ngokuqinisekileyo esi siqwenga sekhowudi siya kusebenza ngakumbi kwaye sibe nesiphumo esifanayo?

    /* If a browser has a user ID they must be logged in */
    if ( $user_ID ) :
    echo "I am logged in";
    /* For everybody that doesn't have one */
    else :
    echo "I am logged out / not logged in";
    endif;

  3. 4
  4. 5

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.