I've tried it all…stuck on embedding my blog into my website
-
I’ve been up and down the forums, and googleland, and I have yet to find a workable solution. I have tried all sorts of suggestions found here and elsewhere…I am not sure what I am missing.
Here is what I have…
My website is http://chrispoldervaart.com
I have a menuitem that calls blog.php. Within blog.php, I simply have an iframe that inserts my wordpress blog, which is found at http://chrispoldervaart.com/blog. If you access the [my blog] menu item, then you get my wordpress blog inside of my site’s index.php.
This at least works…but not without some nuances.
1. It’s an iframe…and I would prefer a better solution.
2. All of my rss links take people directly to the blog URL…so people don’t get my website when they click on a link..they get the blog with no website headers, etc.
3. Did I mention I want to avoid iframes?I’ve so far been unsuccessful in finding a way to embed my wordpress blog into my current site.
For understanding my php site is at:
/httpdocs/index.php
My wordpress installation is at:
/siteapps/141793/htdocs/wp-content/
To simplify troubleshooting, I have created test.php at the root of httpdocs… http://chrispoldervaart.com/test.php
It contains the following code:
<!-- this is a test to make sure I have the right path. --> <img src='/siteapps/141793/htdocs/wp-content/themes/travel-blogger/images/wordpress.png'</img> <!-- now to try and load wordpress. --> <?php // Include WordPress define('WP_USE_THEMES', false); require('/siteapps/141793/htdocs/wp-content/wp-load.php'); query_posts('showposts=1'); ?> <?php while (have_posts()): the_post(); ?> <?php endwhile; ?> " ?>
The png image loads that I put into the path test code…but after that…nothing works. Just a blank white page.
What am I missing here? Can someone help me sort this out?
Thanks!
(please feel free to ask questions, and I can answer them. I am willing to help you help me. : )
- The topic ‘I've tried it all…stuck on embedding my blog into my website’ is closed to new replies.