tom5436
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: wp wiki~ no one can edit pagefigured it out if anyone else has the same issue. wp-wiki doesnt run right with role scoper and similar plugins
Forum: Fixing WordPress
In reply to: wp wiki~ no one can edit pageanyone?
Forum: Plugins
In reply to: [Plugin: Customize Your Community] Please help customize step-by-stepIt explains how on the plugins site
Forum: Fixing WordPress
In reply to: query_postsya I end the loops before starting the next one. Here are the loops
<?php query_posts('r_sortby=highest_rated');?> <?php $recent = new WP_Query("showposts=1"); while($recent->have_posts()) : $recent->the_post();?> <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <img src="<?php echo get_post_meta($post->ID, "thumbnail", true);?>" width="70"> <?php the_excerpt();?> <a href="<?php the_permalink()?>">Read More</a><div style="clear:both;"></div> <?php endwhile; ?>
<?php query_posts('r_sortby=highest_rated');?> <?php $recent = new WP_Query("cat=13&showposts=1"); while($recent->have_posts()) : $recent->the_post();?> <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b> <object width="300" height="246"><param name="movie" value="https://www.youtube.com/v/xLf_kvfguzE&hl=en&fs=1&rel=0&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="<?php echo get_post_meta($post->ID, "Url", true);?>" type="application/x-shockwave-flash" allowfullscreen="true" width="300" height="246"></embed></object> <?php the_excerpt();?> <a href="<?php the_permalink()?>">Read More</a><div style="clear:both;"></div> <?php endwhile; ?>
query_posts('r_sortby=highest_rated');?> <?php $recent = new WP_Query("cat=34&showposts=1"); while($recent->have_posts()) : $recent->the_post();?> <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php echo get_post_meta($post->ID, "Hero_Name", true);?></a></b> <img src="<?php echo get_post_meta($post->ID, "thumbnail", true);?>" width="70"> <?php the_excerpt();?> <a href="<?php the_permalink()?>">Read More</a><div style="clear:both;"></div> <?php endwhile; ?>
<h2>Recent Posts</h2> <?php query_posts('orderby=date');?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="recentpost"><hr width="600"> <img src="thumbnails/<?php echo get_post_meta($post->ID, "Thumbnail", true);?>"> <div class="leftrecent"> <h3><?php the_title();?></h3> <?php the_excerpt();?><a href="<?php the_permalink()?>">Read More...</a> </div> <div class="rightrecent"> <span>Published: </span><?php the_time('F jS, Y') ?> <span>Author: </span><?php the_author() ?> <?php if(function_exists('the_ratings')) { the_ratings(); } ?> <?php if(function_exists('the_views')) { the_views(); } ?> <span>Category: </span><?php the_category(', ');?> </div> </div> <?php endwhile; ?> <?php endif; ?>
Forum: Fixing WordPress
In reply to: query_postsI have a featured story which I have a query post on it to show the highest rated post. And I also have recent posts at the bottom of the home page which I use a query post to order by date. My featured story’s query is messing with my recent post and ordering it by highest rated
Forum: Themes and Templates
In reply to: template tags?Warning: Cannot modify header information - headers already sent by (output started at /home/champoli/public_html/sitedev/wp-content/themes/revolution_news-21/page_stories.php:7) in /home/champoli/public_html/sitedev/wp-content/plugins/sidebarLogin.php on line 12
Ok so I got the pages working some what now I get this error?
Forum: Themes and Templates
In reply to: template tags?Thanks Handysolo that article had what i needed
Forum: Themes and Templates
In reply to: template tags?hard code what?
Forum: Fixing WordPress
In reply to: Most browsers don’t show my header imageI changed it to that code and still its not showing ?
Forum: Fixing WordPress
In reply to: Random posts on homepage?Or you could both use random posts plugin.
haha very good idea hotkee thanks
Forum: Fixing WordPress
In reply to: Random posts on homepage?I am looking to do the same thing with a video. I was thinking use the php rand function to create a random number that would then go into the wp_query(“cat=2&post=RANDOM NUMBER HERE“); but I’m not an expert at all.