SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru
    Join Date
    Jan 2007
    Posts
    967
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to process content from outside WordPress

    Wordpress is used for a blog on a site I've been asked to work on. The latest posts need to be pulled onto a static home page. For some reason, Wordpress doesn't add paragraph tags(?!#). I was using nl2br(), but that messes up lists and other structures. Is there a good way to add them back in when displayed? Is there a way to access the_post() outside the Wordpress directory?

    Thank you E

  2. #2
    SitePoint Zealot nacworld's Avatar
    Join Date
    Aug 2008
    Location
    TEXAS
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use RSS to get latest posts to pull into a static page. You may write your own code or just google embed rss and you will see some widget providers.

  3. #3
    SitePoint Enthusiast ankur218's Avatar
    Join Date
    Jul 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use Google FeedBurner for that RSS thing.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •