mrhog
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts on inside pagesi 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’); ?>Forum: Fixing WordPress
In reply to: Where to find the comment_form function in WP3that’s geat advice designsimply….
do you or anyone else here knows where can i find the comment form so I can give style?if you could just give me a hint around what line I can find it if its in the comment-template.php, I’m not really a good with php so I’m haveing trouble identifying the form. And if its not there…. where can I find it?
I only got the comment box and i want to give it a simple style.
here’s a link to mi single post section
https://sitiosbaja.com/demo/box01/thanks!
Forum: Fixing WordPress
In reply to: Posts on inside pagesI’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 –>