evander
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: User access – Corrector?Anyone have an idea if it’s possible or not?
Forum: Fixing WordPress
In reply to: How to prevent post to show – Last post in each categoriesSorry I don’t know what i was thinking it was my first plan to include it…
<div id="rightcol"> <?php // enter the IDs of which categories you want to display $display_categories = array(4,68,67); foreach ($display_categories as $category) { ?> <div class="clearfloat"> <?php query_posts("showposts=1&cat=$category"); $wp_query->is_category = false; $wp_query->is_archive = false; $wp_query->is_home = true; ?> <h3><a href="<?php echo get_category_link($category);?>"> <?php // name of each category gets printed single_cat_title(); ?> </a></h3> <?php while (have_posts()) : the_post(); ?> <?php // this grabs the image filename $values = get_post_custom_values("rightcolimage"); // this checks to see if an image file exists if (isset($values[0])) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; $values = get_post_custom_values("rightcolimage"); echo $values[0]; ?>" alt="" /></a> <?php } ?> <a href="<?php the_permalink() ?>" rel="bookmark" class="title"> <?php // this is where title of the article gets printed the_title(); ?> </a><br /> <?php the_excerpt() ; ?> <?php endwhile; ?> </div> <?php } ?> </div>Forum: Fixing WordPress
In reply to: Error on a single article when using ie7Thanks a lot… now I feel dumb. I knew the trouble with MSWord. I went over so many thing today trying to figure it out. Going back to every changes I had made in the theme code. I guess I should have started directly with the page causing troubles lol.
Thanks again for your time and how quick the response was.
Viewing 3 replies - 1 through 3 (of 3 total)