WordPress: Tarisa kana Mushandisi akapinda mukati

John Chow anga aine zano rakanaka pane yake saiti nhasi pakutumira chinongedzo chekushambadza pane yako saiti uye nekuona kuti haina kunyoreswa uchishandisa nofollow. Iwe unogona kuita izvi nerakareruka redirector peji iro John anotumira kodhi yacho.

Ini ndaida kuita izvi zvakati siyanei. Mune yangu yakatenderera menyu kumusoro, zvivakwa zviri pamutengo. Ndine admin chinongedzo ipapo kana ini ndakapinda mukati… asi kune wese munhu wese, ndiyo nzvimbo isina chinhu. Ndafunga, wadii kuchinjanisa zvirimo mubhawa iro kana iri mushanyi kwete ini? NeWordPress, izvi zvakapusa.


get_currentuserinfo ();
wepasi rose $ mushandisi_level;
kana ($ mushandisi_level> 0) {
wp_register ('> li class = "menuitem">', '> / li>');
} Mumwe {
echo "> li class = 'menuitem' >> a href = '/ go / tla.html' title = 'Shambadza paWebsite ino'> Shambadza> / a >> / li>";
}
?>

Handina kuita dhiri na Chinyorwa Link Ads zvakadaro asi ndinoda kuzvipa zvakanaka. Iyo isingadhuri kune yangu saiti… $ 35 pamwedzi uye ini ndinowana vanopfuura mazana mashanu evashanyi pazuva. Ini ndinotarisira kushandira mamwe eaya kumusoro!

5 Comments

  1. 1

    Cool idea!

    Kunyangwe ndaizoda kudzokorora chinongedzo chainonongedza kwairi - ikozvino inokubvunza iwe nezve yako log-pane ruzivo. Kwete peji randaida kumhoreswa naro, dai ndaiva mushambadzi 😉

  2. 3

    Chokwadi ichi chidimbu chekodhi chingave chakanyanya kushanda uye kuita zvakafanana?

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

Unofungei?

Nzvimbo iyi inoshandisa Akismet kuderedza spam. Dzidza kuti sei deta yako inoshandiswa.