Integrating WordPress
-
Hi there,
I’m looking at the instructions and trying to get myself up to speed with WordPress Codex in integrating certain parts of my new wordpress blog into a site design.
Now I’ve just created a test page using some of the code at https://www.andyfwood.com/testblog.php. Now it appears to be blank and I must be missing something. I’m trying to get it to show my latest posts in full from https://www.andyfwood.com/wordpress.
If someone could direct me in the right direction or perhaps something isn’t quite right with my code on the testblog.php.
<?php require('https://www.andyfwood.com/wordpress/wp-blog-header.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Testing</title> </head> <body> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!-- do stuff ... --> <?php endwhile; ?> <?php endif; ?> </body> </html>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Integrating WordPress’ is closed to new replies.