Displaying Post on non-wp site from WP blog on another server
-
im running some test on my website and i’m trying to get my latest blog entry onto my business website. my blog is located at http://www.iammikerodriguez.com and my business site is at http://www.mikerodriguezdesigns.com (www.mikerodriguez.com/index3.php is where im running this test)
at the top of my page i added the follow code
define('WP_USE_THEMES', false); require('http://www.iammikerodriguez.com/wp-blog-header.php'); query_posts('showposts=2');
What am i doing wrong? i get an error message at line 7 which states
Fatal error: Call to undefined function query_posts() in /home2/restles2/public_html/mike/index3.php on line 7
Please Help!!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Displaying Post on non-wp site from WP blog on another server’ is closed to new replies.