Possible to import 'page' into static website
-
Hi there,
I am trying to import a wordpress page into a static website to act as a CMS. All I want is the text from the saved wordpress page to go into the div.
I have already integrated the blog into the static site but cannot figure how to add a page.
Can the following code be edited to target a specific page?
<?php query_posts('category_name=Events&showposts=10'); ?> <?php while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php the_content();?>
I have read the intergration section on the wordpress support but it only mentions posts and not pages.
Thanks for any help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Possible to import 'page' into static website’ is closed to new replies.