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 Highbridge):

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

    You can republish your own content, too, not just others. I’ve done this for a while at SMJdesign since all it is a blog that is an aggregation of my four blogs. I prefer using FeedList plugin instead of the built in RSS functionality.

    You can use this for a Twitter sideblog or anything that has an RSS feed!

    • 2

      Good to see you on the circle, Stephen! Curious of the advantages of the plugin over the built in features? Is it simply the interface? I like the fact that caching is built into the internal function – for high volume days/sites, that could come in handy!

      Ke aloha!
      Doug

  2. 3

    Brilliant – this is exactly what I need! I’ve been working on a WP MU site and I simply want the main blog to just show a page with a nice graphic for each of the blogs. Now, I can add in a couple posts under each graphic rather than have them hang out on the sidebar using the RSS widget.

    • 4

      Awesome, William!

      The funny part is I was half-way down the road of implementing MagPie when I decided to check the WP site out to see how others might be doing it. Those folks at WP really do a fantastic job, don’t they?

      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.