The same post on the sidebar as the post itself
I got a problem.
At first when you click on a post you can see on the right in the sidebar more different posts, but now you only see the same as the main post.
I tried this in different php files:
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<?php $posts=query_posts($query_string . '&orderby=rand'); if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
My website: www.tessa-nicolai.nl
Can anyone help me?
I'm having more or less the same issue. Sidebar links are always the same, and not related to anything I can figure out (not most recent, previous/next, etc.).
I'd just like to know what's controlling the sidebar links, as I can't seem to find it anywhere.
My site is http://www.viacelli.com
If anyone can give their thoughts on this it would be very helpful.
yeah me too. It looks like this might be simply the way it was built - fixed 2 projects in the right-hand column for every page. That's pretty wack and I've only just seen this problem(or design feature) so if anyone has a hack please share.
Go to WP > theme editor > sidebar-featured.php and change the showposts=2&offset=1" into showposts=6 (or an other number..)
If you change the offset=1 into any other number it shows an other post first.
Here is how it looks like in the code, don't use kladblok or any other text editor.
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
Good luck all,
(Wordpress is favoriet onder de Nederlanders zie ik (-: )
Is there a way to randomize the posts that are being shown in the sidebar?
OH I have not seen here for a long time haha. Thanks for the solution!
But I also want it to be randomized!
Can you help me?
Try adding orderby=rand to the query_posts
I can't find it in sidebar-features.
and what hapen if i want to eliminate the image? can i do that?
Which image do you want to eliminate.
Originally Posted by geracdo