WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My first site is having 92 categories to display more than 10,000 SMS. Now I want to insert random images to all my posts (SMS) from my other site which is having images as per my categories in SMS site.

I want to code in such a way: Put some code in category file on the first site and it will fetch images from a category of the second site and display any random image to all posts.

All 92 SMS categories will be linked to different categories of Images to display relevant images for the same.

How could I do that?

share|improve this question

Move your images into a Content Delivery Network (CDN) so they are external to the site. Then you can pull them into any number of sites.

Look at something like Amazon S3 or Cloudflare.

share|improve this answer
How will that incorporate the OPs request to make use of WP categories? – Johannes Pille Apr 7 '13 at 14:21
@JohannesPille My question is that, how can I display different images from one gallery of my WP site into different SMS page of another WP site? My facebook4free site is having all images in next-gen gallery plugin, from which I want to display images to my single pages of freesmsbook site. – Ashish Revar Apr 8 '13 at 13:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.