Sindikizani Zakudya Zakunja patsamba lanu la WordPress

Zithunzi za Depositph 38199905 s

Some folks don’t realize it, but WordPress has integrated the ability to publish other feeds with some out of the box features. I’ve written in the past on how to publish a blog’s feed to give a boost to a site’s keyword density for improved search engine optimization - koma umu ndi momwe mungachitire momwemo mkati mwa WordPress.

WordPress yalowetsa Magpie ndi RSS Caching mkati mwake ntchito yomwe ilipo, yolanda_feed:

  • fetch_kudyetsa - pezani chakudya cha RSS kuchokera ku URL yokhala ndi chosungira chokha (chophatikizidwa ndi rss_functions.php)

If you’d like to, for example, add our latest 5 posts to your site (as we did on DK New Media):

Pezani_chuma_kuchuluka (5); $ zinthu = array_slice ($ rss-> get_items, 0, $ maxitems); mapeto; ?>  Palibe zinthu '; kulosera kwina ($ zinthu ngati $ item):?> get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->get_date('j FY | g:i a') ); get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->Pezani_date ('j FY | g: i a')); get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->?>'> get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->?> '> get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->get_title() ); get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->pezani_mutu ()); get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->?> get_permalink() ); ?>' 
title="<? php kusindikiza (__ ("Posted %s', 'my-text-domain' ), $item->?>

Edit your WordPress template (Design > Theme Editor) and place the code where you’d like the feed to publish. There are also a ton of sidebar widgets out there that will publish feeds for you as well.

4 Comments

  1. 1

    Mutha kusindikizanso zomwe muli nazo, osati enanso. Ndachita izi kwakanthawi ku SMJdesign popeza yonse ndi blog yomwe ili yolumikizira ma blogi anga anayi. Ndimakonda kugwiritsa ntchito Pulagi ya FeedList m'malo mwa zomangidwa mu RSS magwiridwe antchito.

    Mutha kugwiritsa ntchito izi pa tsamba loyambira pa Twitter kapena chilichonse chomwe chili ndi RSS feed!

    • 2

      Ndasangalala kukuwonani pabwalo, Stephen! Mukufuna kudziwa zabwino za pulogalamu yowonjezera pazomwe zidapangidwa? Kodi ndi mawonekedwe okha? Ndimakonda kudziwa kuti kusungidwa kwa ma caching kumapangidwira mkati momwe mungagwiritsire ntchito - kwa masiku / masamba okwera kwambiri, omwe atha kubwera mosavuta!

      Malawi!
      Doug

  2. 3

    Wanzeru - izi ndi zomwe ndikufuna! Ndakhala ndikugwira ntchito patsamba la WP MU ndipo ndikungofuna kuti bulogu yayikulu iwonetse tsamba lokhala ndi chithunzi chabwino pamabulogu onse. Tsopano, nditha kuwonjezera pazithunzi zingapo pansi pazithunzi zilizonse m'malo mowapachika pazenera pogwiritsa ntchito RSS.

    • 4

      Zodabwitsa, William!

      Gawo loseketsa ndiloti ndinali pakati panjira yokhazikitsa MagPie pomwe ndidaganiza zowunika tsamba la WP kuti ndiwone momwe ena akuchitira. Anthu awa ku WP amagwiradi ntchito yabwino, sichoncho?

      Doug

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.