Please explain what you mean by ‘inside page’. A link to the site and an example might help.
Thread Starter
mrhog
(@mrhog)
I’ment all pages generated by page templates, but i finally got it.
thanks anyways vtxyzzy 😛
i don’t know what i was doing wrong with the code but now its running fine with this code i compile from some codes i found, i called it frankenstein… is in the frankenstein div:
<div id=”blog_text”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<?php the_content(__(‘Read more’));?>
<?php endwhile; else: ?>
<p>There has been a glitch in the Matrix.
There is nothing to see here.</p>
<p>Please try somewhere else.</p>
<?php endif; ?>
</div><!– end #blog_text –>
<div id=”frankenstein”>
<?php query_posts(‘category_name=news&showposts=5’); ?>
<?php while (have_posts()) : the_post(); ?>
<h2>” rel=”bookmark”><?php the_title(); ?></h2>
<p>Written on <?php the_time(‘F j, Y’); ?> at <?php the_time() ?>, by <?php the_author() ?></p>
<?php the_content(__(‘Read more’));?>
<div class=”postmeta”>
<p><?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<p>Category <?php the_category(‘, ‘) ?> | Tags: <?php the_tags(‘ ‘, ‘,’, ‘ ‘); ?></p>
</div><!– end .postmeta –>
<?php endwhile;?>
</div><!– end #frankenstein –>
Thread Starter
mrhog
(@mrhog)
i found a correct solution for this problem
just define a pagename that you want to display in that particular div <?php query_posts(‘pagename=services’); ?>