E paʻi i nā hānai waho i kāu pūnaewele WordPress

Depositphotos 38199905 s

ʻAʻole maopopo kekahi poʻe iā ia, akā ua hoʻohui ʻo WordPress i ka hiki ke paʻi i nā hānai ʻē aʻe me kekahi o nā hiʻohiʻona o ka pahu. Ua kākau wau i ka wā ma mua pehea e paʻi ai i kahi hānai blog e hāʻawi i hoʻonui i ka nui o ka huaʻōlelo o ka pūnaewele no ka hoʻonui ʻana o ka ʻenekia huli - akā pehea kēia e hana pono ai i loko o WordPress.

Ua hoʻokomo ʻo WordPress iā Magpie a me RSS Caching i loko o kāna loaʻa hana, fetch_feed:

  • fetch_feed - e kiʻi i kahi hānai RSS mai kahi URL me ka ʻūlū 'akomi (i komo pū i loko o rss_function.php)

Inā makemake ʻoe, e laʻa, e hoʻohui i kā mākou mau pou hou 5 i kāu pūnaewele (e like me kā mākou i hana ai DK New Media):

get_item_quantity (5); $ mau mea = array_slice ($ rss-> get_items, 0, $ maxitems); endif; ?>  ʻAʻohe ukana '; ʻē aʻe alo ($ mau mea e like me $ ikamu):?> 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->?>

Hoʻoponopono i kāu anakuhi WordPress (Design> Theme Editor) a kau i ke code kahi āu e makemake ai e hoʻolaha ka hānai. Aia kekahi tona o nā ʻaoʻao sidebar i waho e hoʻolaha i nā hānai iā ʻoe pū kekahi.

4 Comments

  1. 1

    Hiki iā ʻoe ke paʻi hou i kāu ʻike ponoʻī, ʻaʻole wale me nā poʻe ʻē aʻe. Ua hana wau i kēia no kekahi manawa ma SMJdesign ʻoiai he blog ka mea he hōʻuluʻulu o kaʻu mau blog ʻehā. Makemake wau i ka hoʻohana ʻana Pākuʻi FeedList ma kahi o ka hana RSS i kūkulu ʻia.

    Hiki iā ʻoe ke hoʻohana i kēia no ka sideblog Twitter a i ʻole kekahi mea i loaʻa kahi hānai RSS.

    • 2

      Maikaʻi e ʻike iā ʻoe ma ka pōʻai, Stephen! ʻIke i nā mea maikaʻi o ka plugin ma luna o nā hiʻohiʻona i kūkulu ʻia? ʻO ia wale nō ke kikowaena? Makemake au i ka ʻoiaʻiʻo o ke kūkulu ʻia ʻana o ka caching i loko o ka hana kūloko - no nā lā / pae kiʻekiʻe, hiki ke hele a mākaukau!

      Ke aloha!
      Doug

  2. 3

    Maikaʻi - ʻo kēia nō ka mea e pono ai iaʻu! Ke hana nei wau ma kahi pūnaewele WP MU a makemake wale wau i ka blog nui e hōʻike wale i kahi ʻaoʻao me kahi kiʻi nani no kēlā me kēia blog. I kēia manawa, hiki iaʻu ke hoʻohui i kahi mau pou ma lalo o kēlā me kēia kiʻi ma mua o ke kau ʻana ma ka ʻaoʻao ma ka hoʻohana ʻana i ka widget RSS.

    • 4

      Kupanaha, William!

      ʻO ka hapa ʻakaʻaka wau ma kahi hapalua o ke ala o ka hoʻokō ʻana iā MagPie ke hoʻoholo wau e nānā i ka pūnaewele WP e ʻike pehea e hana nei nā poʻe ʻē aʻe. Hana maoli kēlā poʻe ma WP i kahi hana maikaʻi, ʻeā?

      Doug

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.