Hey guys,
Im wondering if one of you can help me out here, ive added a wordpress blog to a static php site. Its all grand for the most part but one of the people I did it for gets errors when updating.
This is the method I used to get it to work.
Display Latest Post on Static PHP Page « Chinmoy29's Blog
Thats fine but the person having problems edits the static site on his computer using microsoft visual, he is getting an error when debugging because he does not have access to the wordpress files. He thinks if we put the call in an include it should work. Ive tried every way I can think of but it wont work. Do you have any suggestions how I would get this to work?
This has to be at the start of the index page..
Is there anyway to put that in an include file and call it properly? Every time I try I get database errors.Code:<?php header ("Content-Type: text/html;charset=utf-8"); define('WP_USE_THEMES', false); require('blog/wp-blog-header.php'); query_posts('showposts=6'); ?>
Also, do you have any suggestions for speeding up wordpress? ive looked and it looks like w3cache is the thing but do yous have any other tips?
Cheers













LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks