I have split the blog into two parts, – you will have to explain this…
This is not the way WP works:
http://moments.pelli.co.uk/wedding-news.php
What is this “wedding-news.php” file? That cannot be part of WP…
Try to explain what is it what you want to achieve. Then somebody might be able to tell you HOW to do it.
Hi moshu, sorry, will try to explain it better.
I have split up the wp database into two, a blog and a news section to display diff kinds of posts.
I am calling in posts to the blog by specific category, and posts to news the same way using the following php:
<?php query_posts(‘cat=1,3&showposts=2’);
Sorry, this forum always cuts off half of my post … I hope that explains it OK.
I am just using one WP Blog for news and blog section. Contemplating just making the News section another blog altogether.
I have split up the wp database into two, a blog and a news section to display diff kinds of posts.
That’s even more confusing… sorry. Never heard about splitting the WP database.
Usually, people use the categories for what you want to do – if my guess is correct.
Sorry, it’s hard to explain.
The website has a blog, and a news section.
I have split these up by creating a blog category and a news category and pulling posts to each category into their relevant section using query_posts
For example, this is how I pull in the content from the news category:
`<?php require(‘blog/wp-blog-header.php’);
query_posts(‘cat=4&showposts=4’);
while (have_posts()) : the_post(); ?>
<h2 class=”blog_title”><?php the_title(); ?></h2>
<div class=”news_content”><?php the_content(‘…’); ?></div>
<p class=”news_date”> Article Posted On <?php the_time(‘F jS, Y’) ?></p>
<?php endwhile;
?>