WordPress.org

Ready to get started?Download WordPress

Forums

Need some advice (1 post)

  1. Ganners
    Member
    Posted 3 years ago #

    I need to create a sort of widget which simply shows a list of posts under a category, this post will have a thumbnail, a title and an excerpt. The title then has to, instead of linking to the actual post, link to an external source.

    That is fine and I can do that, the problem I have is that this widget has to be used on external sites, all to pull from my database and look the same!

    So what is the best way to do it? I've looked at getting it to read the XML feed, and I know I can do that with a little improvisation.

    So another way would be using an iframe, and then another way again would be to have a php file on my site which prints out the contents and have a function on external sites using file_get_contents() and spitting that out.

    Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.