wp-tej
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Themes and Templates
In reply to: Different CSS styles for multiple categories single post pageHi Paul, thanks for your help.
I’ve found a solution.
http://wpquestions.com/question/show/id/2303
Thanks
Tej
Forum: Plugins
In reply to: Multiple Content Block: Not showing in adminI’ve noticed the problem occurs, when I use a custom single.php file.
Has anyone come across this?
Forum: Themes and Templates
In reply to: Add blog posts to a single blog page (Visual included)Sure enough, I come across another problem.
The blog posts included in the single post page, also includes a post to the current page.
I’m trying to stop this duplication using the following code below:
<div id="mcontent"> <?php query_posts(); if (have_posts()) : while (have_posts()) : the_post(); if( $post->ID == $do_not_duplicate ) continue;?> <div class="item shadow"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_post_thumbnail('large'); ?></a> <div class="postsnip"><?php echo the_excerpt(); ?></div></div> <?php endwhile; endif; // Reset Query wp_reset_query(); ?>Can’t seem to crack it.
Any pointers?
Thanks
Forum: Themes and Templates
In reply to: Add blog posts to a single blog page (Visual included)Thanks used query_posts and work a treat!
Viewing 4 replies - 1 through 4 (of 4 total)