Panuitia nga whangai o waho ki to papaanga WordPress

Depositphotos 38199905 s

Kaore etahi o nga taangata i te mohio, engari kua whakauruhia e te WordPress te kaha ki te whakaputa i etahi atu whangai me etahi o nga pouaka pouaka. I tuhituhi ahau i mua kia pehea te whakaputa i te whangai a te blog ki te hoatu whakanui ake i te kupu matua o te papaanga mo te whakapai ake i te miihini rapu - engari ko tenei me pehea te mahi tika i roto i a WordPress.

Kua whakauruhia e WordPress a Magpie me te RSS Caching ki roto mahi e waatea ana, tiki_whāngai:

  • tiki_whāngai - tikina he RSS whangai mai i te URL me te Keteroki aunoatanga (kua whakauruhia ki nga rss_function.php)

Mena kei te hiahia koe, hei tauira, taapirihia a maatau pou hou e 5 ki to papanga (pera me ta maatau i mahi ai DK New Media):

get_item_quantity (5); $ tūemi = array_slice ($ rss-> get_items, 0, $ maxitems); endif; ?>  Kaore he taonga '; ki mua hoki (nga mea $ rite te nama $):?> get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->get_date('j FY | g:i a') ); get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->get_date ('j FY | g: i a')); get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->?>'> get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->?> '> get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->get_title() ); get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->get_title ()); get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->?> get_permalink() ); ?>' 
title="<? php printf (__ ("Posted %s', 'my-text-domain' ), $item->?>

Whakatikaina to tauira WordPress (Hoahoa> Kaituhi Kaupapa) ka tuu i te waehere ki te wahi e hiahia ana koe ki te kai whangai. Kei kona ano nga tone widget o te taha taha ka whakaputa i nga kai maau ano hoki.

4 Comments

  1. 1

    Ka taea e koe te whakaputa ano i au ake korero, kaua ko etahi atu anake. Kua mahia e au tenei mo etahi wa i SMJhakaahua mai i te mea he poraka te whakakotahitanga o aku tuhinga e wha. He pai ki ahau te whakamahi Momo Whakaputaarangi hei utu mo te mahi RSS i hangaia.

    Ka taea e koe te whakamahi i tenei mo te taha taha Twitter a Twitter, mo tetahi mea ranei kei i a RSS te whangai!

    • 2

      He pai ki te kite i a koe i runga i te porowhita, e Tepene! Kei te mohio ki nga painga o te mono i runga i nga waahanga kua oti te hanga? Ko te noa te atanga? He pai ki ahau ko te kaitautoko kua hangaia ki roto i nga mahi o roto - mo nga ra nui / raarangi nui, ka pai pea!

      Whakahari!
      Doug

  2. 3

    Maramarama - koinei tonu te mea e hiahia ana ahau! Kei te mahi ahau i runga i te papaanga WP MU a ko taku hiahia ko te tuhinga matua kia whakaatu noa i tetahi whaarangi me tetahi whakairoiro pai mo ia o nga blog. Na, ka taea e au te taapiri i nga pou e rua i raro i ia whakairoiro kaua ki te whakairi i te taha taha ma te whakamahi i te widget RSS.

    • 4

      Aue, Wiremu!

      Ko te mea rorirori i te haurua o taku ara ki te whakamahi i te MagPie i te wa i whakatau ahau ki te tirotiro i te papaanga WP kia kite me pehea pea etahi atu. He tino mahi nga mahi a era e mahi ana i te WP, kaore?

      Doug

He aha koutou whakaaro?

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