jerrichou
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Blog posts on static front pageHey there. I tried this code but tried to use it to pull in posts in their original form (with excerpts etc.)
Instead of showing the querryed posts, it shows all posts. I know the reason is probably b/c the post its querying aren’t the ones the php is calling for the permalink but was wondering if anyone knew how to fix this?
Here’s the code: Thanks soooo much!
<!–post loop starts here–>
<?php $my_query = “showposts3&cat110”; $my_query = new WP_Query($my_query); ?>
<?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); ?><div class=”postthumb”>“><?php post_image(”, true); ?><?php
$imagethumb = get_post_meta($post->ID, “imagethumb”, true);
echo $imagethumb;
?>
</div><h2 style=”margin-left:204px”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<h4 style=”margin-left:204px”>
<?php the_time(‘F jS, Y’) ?> by <?php the_author() ?><!– · <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?>–></h4>
<div class=”entry”>
<p style=”margin-left:204px”>
<?php the_excerpt () ?>#more-<?php the_ID(); ?>” title=”Read the rest of this entry”>[Read more →]</p>
</div>
<p class=”tagged”><span class=”add_comment”><?php comments_popup_link(‘→ No Comments’, ‘→ 1 Comment’, ‘→ % Comments’); ?></span>
Tags: <?php the_category(‘ · ‘) ?></p>
<div class=”clear”></div>
<?php endwhile; // end of one post ?>
<?php endif; //end of loop ?><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!– standard tags to display the static page information like the_title() here –>
<?php endwhile; endif; ?>
Forum: Installing WordPress
In reply to: Upgrade problem (2.5) – Error 500 upgrade.phpcan you find out what he did for the rest of us? I’m still having huge problems. Thanks!