WordPress: Onani ngati Wosuta Walowa

John Chow anali ndi nsonga yabwino patsamba lake lero potumiza ulalo wotsatsa patsamba lanu ndikuwonetsetsa kuti sanalembetsedwe pogwiritsa ntchito nofollow. Mutha kuchita izi ndi tsamba losavuta lotumizira lomwe John adalemba zolemba zake.

Ndinkafuna kuchita izi mosiyana pang'ono. M'ndandanda yanga yopingasa pamwambapa, kugulitsa nyumba ndi mtengo. Ndili ndi ulalo wa admin pamenepo ngati ndalowa ... koma kwa ena onse, amenewo ndi malo opanda kanthu. Ndinaganiza, bwanji osasinthana zomwe zili mu bala ngati ndi mlendo osati ine? Ndi WordPress, izi ndizosavuta:


Pezani_currentuserinfo ();
$ wosuta_level wapadziko lonse;
ngati ($ user_level> 0) {
wp_register ('> li class = "menuitem">', '> / li>');
} china {
echo "> li class = 'menuitem' >> a href = '/ go / tla.html' title = 'Lengezani pa Tsambali'> Advertise> / a >> / li>";
}
?>

Sindinapangeko kobiri limodzi Zotsatsa Zapaintaneti komabe koma ndikufuna ndikuwombere bwino. Ndi yotsika mtengo kutsamba langa… $ 35 pamwezi ndipo ndimalandira alendo opitilira 500 patsiku. Ndikuyembekezera kutumizira ena mwa awa!

5 Comments

  1. 1

    Lingaliro labwino!

    Ngakhale ndikadakonda nditha kuyambiranso ulalo womwe umaloza - tsopano ikukufunsani zambiri pazomwe mungalowe. Osati tsamba lomwe ndimafuna kuti ndipatsidwe moni, ndikadakhala wotsatsa 😉

  2. 3

    Zachidziwikire kuti kachidindo kameneka kangakhale kothandiza komanso kofanana?

    /* 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

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.