mcronin0912
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Plugin: Vote It Up] Show top voted post in index page@vilpponen, did you figure out how to get rid of the posts multiplying??
Forum: Plugins
In reply to: [Plugin: Vote It Up] Show top voted post in index pageThis what I have. You will see it publishing each post 3 times
<?php function render_content() { ?> <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?> <?php $pageposts = ShowPostByVotes(); ?> <?php if ($pageposts): ?> <?php foreach ($pageposts as $post): ?> <?php setup_postdata($post); ?> <!--Post Wrapper Class--> <div <?php if (function_exists('post_class')) { post_class(); } else { echo 'class="post"'; } ?>> <!--Title/Date/Meta--> <div class="title wrap"> <div class="post-title"> <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> </div> <div class="post-meta"> By <span class="meta-author"><?php the_author_posts_link(); ?></span> · Comments <span class="meta-comments"><?php comments_popup_link('(0)', '(1)', '(%)'); ?></span> </div> <div class="date"> <span class="weekday"><?php the_time( 'l' ); ?><span class="weekday-comma">,</span></span> <span class="month"><?php the_time( 'F' ); ?></span> <span class="day"><?php the_time( 'j' ); ?><span class="day-suffix"><?php the_time( 'S' ); ?></span><span class="day-comma">,</span></span> <span class="year"><?php the_time( 'Y' ); ?></span> </div> </div> <!--post text with the read more link--> <div class="post-content"> <?php the_content('Read More→'); ?> <?php DisplayVotes(get_the_ID()); ?> </div> <!--post meta info--> <div class="meta-bottom wrap"> <div class="alignleft"><span class="categories">Categories : <?php the_category(', ') ?></span></div> <div class="alignright"><span class="comments">Comments <?php comments_popup_link('(0)', '(1)', '(%)'); ?></span></div> </div> </div><!--end .post--> <?php endforeach; ?> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> <?php endwhile; // end of one post ?> <!-- Previous/Next page navigation --> <div class="paging clearfix"> <div class="alignleft"><?php previous_posts_link('« Previous Page') ?></div> <div class="alignright"><?php next_posts_link('Next Page »') ?></div> </div> <?php else : // do not delete ?> <div class="post"> <h3><?php _e("Page not Found"); ?></h3> <p><?php _e("We're sorry, but the page you're looking for isn't here."); ?></p> <p><?php _e("Try searching for the page you are looking for or using the navigation in the header or sidebar"); ?></p> </div> <?php endif; // do not delete ?> <?php } add_action( 'builder_layout_engine_render_content', 'render_content' ); do_action( 'builder_layout_engine_render', basename( __FILE__ ) ); ?>Any ideas?
Forum: Plugins
In reply to: [Plugin: Vote It Up] Show top voted post in index pageHas anybody figured this out yet? I am having the same issue as the first responder – multiplying posts.
Can somebody mind posting their entire index.php file so I can see how the above code is inserted?
That would be SO awesome! 🙂
Forum: Plugins
In reply to: [Plugin: Invite Anyone] Compatibility BP1.2Can someone tell me if Invite Anyone works with the standard WordPress installation + BuddyPress? NOT Mu?
Viewing 4 replies - 1 through 4 (of 4 total)