I am using wordpress on my site http://thedripple.com. I want to show just table from posts of http://thedripple.com/products (Another wordpress installed) on my main site's posts! How can I do this?
1 Answer
since they are on the same domain perhaps:
<div id="posts"></div> $('#posts').load('/products/hp-envy-spectre-xt #wp-table-reloaded-id-2-no-1'); You'll want to pull in the css somehow so that it displays correctly. example:
5 Comments
Nikhil Phirke
Can't i do something with javascript ( stackoverflow.com/questions/2828109/… ), I just want to display the table not the whole post!
Rob Allen
sure that would work. Is your Id going to be static?
Nikhil Phirke
I'm not good at javascript :\, about id, yes it'll be static!
Rob Allen
what posts exactly are you trying to get
Nikhil Phirke
Suppose there's article about HP Envy Spectre XT on my main site, so I would like to display whole spec table of the laptop from thedripple.com/products/hp-envy-spectre-xt and something similar to all posts!!!