Link to home
Start Free TrialLog in
Avatar of altariamx2003
altariamx2003Flag for Mexico

asked on

how to call a remote wordpress to use his content in a loop

Hi
I know that to call the content of a wordpress site (locally) I need to put the following code in the first line of my php page
<?php 
define(‘WP_USE_THEMES’, false);
require('/blog/wp-blog-header.php');
?>

Open in new window


But i would like to know if its possible to call the content from a remote wordpress site, for example something like:
<?php 
define(‘WP_USE_THEMES’, false);
require('http://www.grupossc.com/blog/wp-blog-header.php');
?>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of altariamx2003

ASKER

damn.

I really cannot believe that im gonna need to install another wordpress blog just for this.

AAARRRRRGGGGHHHH!!!!!!!!!!!!!!!!!!
anyway thx ray