WordPress: Tirohia mēnā kua Whakauru te Kaiwhakamahi

John Chow he tohu pai ki tana papanga i tenei ra mo te tuku hononga whakatairanga ki to papanga me te whakarite kia kaua e tohua ma te nofollow. Ka taea e koe tenei ma te whaarangi whaarangi maamaa e tukuna ana e John te waehere.

I hiahia ahau ki te mahi i tenei iti rereke. I taku raarangi whakapae i runga ake nei, he utu te utu o nga rawa tuuturu. He hononga taatai ​​taku kei runga mena kei te whakauru au ki roto… engari mo etahi atu, he waahi kau tera. I whakatauhia e au, he aha e kore ai e huri i nga korero o taua pae mena he manuhiri koe ehara ko au? Ma te WordPress, he maamaa noa tenei:


get_currentuserinfo ();
ao $ user_level;
mena ($ user_level> 0) {
wp_register ('> li class = "menuitem">', '> / li>');
} Penei {
echo "> li class = 'menuitem' >> a href = '/ go / tla.html' title = 'Panui i runga i tenei Paetukutuku'> Panui> / a >> / li>";
}
?>

Kaore ano au kia hanga pene ki Panui Hono Kuputuhi heoi engari kei te hiahia ahau ki te hoatu i te pere pai. He iti rawa te utu mo taku papaanga ... $ 35 ia marama ka neke atu i te 500 nga manuhiri i ia ra. Kei te tumanako ahau ki te mahi i etahi o enei!

5 Comments

  1. 1

    Whakaaro hauhautanga!

    Ahakoa e hiahia ana ahau ki te arotake i te hononga e tohu ana - inaianei ka paatai ​​koe mo o korero taipitopito takiuru. Ehara i te momo whaarangi i hiahia ahau kia oha atu, mena he kaiwhakataetae au 😉

  2. 3

    Ae ra ka pai ake pea te waahanga waehere nei ka rite te whaimana?

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

He aha koutou whakaaro?

Whakamahia ai e tenei pae i te Akismet hei whakaiti i te mokowhiti. Akohia te tukatuka o to raraunga korero.