I have a situation where I would like to show a post from one WordPress blog on another, it contains images and text.
In blog 1 I have a template that displays a post in the sidebar area, giving content management control for the website interface, this contains images and text with some css styling.
In blog 2 I would like to display this content – I’m getting bored of copying and pasting code! There must be a more sensible way of doing this!!
I guess it boils down to adding a connection to ‘blog 1’ and in ‘blog 2’ putting in a mini loop to get that single post – I’m familiar enough with WordPress to manage that at least! However, what will happen to the css – there are many potential clashes with Blog 2’s css… I’m really scratching my head over this!
I initially thought about using RSS to get that single post, it is already in a special category, so I could just get the category feed and show a single post (the latest). However, there are other posts in this special category, so if one of those gets updated, how could I ensure that it shows the right post – that’s what got me scratching my head!
I’d ideally like to use this technique to show multiple posts from ‘blog 1’. I could just put a single post into individual categories – and get the RSS from that category, but this seems a little excessive. Just a little side question – is there any way of getting a ‘page’ rss feed in this way?
The RSS feed with strip out the formatting, but I’m fairly sure I could get around this though and re-style it up.
Any ideas would be much appreciated – this is something that I would like to use for a number of sites!!
- The topic ‘Show post from one WordPress blog in another WordPress blog’ is closed to new replies.