On the short code builder page, you can create an export link that does the same thing as a short code. If you create such a link from web site A, you can use the link on web site B as “src” to an iframe tag.
Thread Starter
Dani
(@danicasati)
I can’t did it.
I get a shortcode from WEB A, but I can’t display to WEB B.
Could you post any sample of shortcode to reach this?
Thank you in advance.
I did a test and the IFrame is not showing up. Did some research. It seems like WP disallows IFrames but there are workarounds:
Does wordpress support iframe?
Thread Starter
Dani
(@danicasati)
Any other solution to retrieve display from another site and display on external site?
Phil
(@owendevelopment)
I’m desperately trying to achieve the same thing.
I not going to go down the iframe route as 1) My site is responsive and won’t like set iframe size and 2) I would rather no url of the originating site in the source.
I’ve seen you can connect to the 2nd sites’ database using:
$newdb = new wpdb($DB_USER, $DB_PASSWORD, $DB_NAME, $DB_HOST);
$newdb->show_errors();
Site A has the plugin running with a form capturing data
Site B has the plugin running but I need the datatable on this site with data pulled in from the Site A Database.
I know Gravity Forms has this ability with an extra add-on but I quite like CFDB so if there’s a way to do this using this plugin, it would be more favoured.