generalfancy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Code Issue with Flash? Help!I had a lot of trouble with images doing the same thing for a while back, showing up on the front back and then no where else. Did you try using an absolute url by referencing
<?php bloginfo('home'); ?>/wp-content/blahblahblahForum: Fixing WordPress
In reply to: posts_nav_link trouble, excluded posts generate empty pagesThank you for looking in this. Still having a bit of trouble, but things are better. I had a bit of trouble with your snipet. Perhaps you could explain it a bit better in regards to its placement (i am a rookie at this). I used this instead:
<?php if (have_posts()) : $my_query = new WP_Query('cat=-3,-4,-5,-6,-7'.'&paged='.$paged); while ( $my_query->have_posts() ) : $my_query->the_post(); ?>Now in a category i want to display I only have 1 post, while I have several posts below the main loop in a separate query and another in the sidebar.
I am using the PageNavi plugin…With the the query I used above, the plugin displays 4 pages at the bottom… I page to the second page, it is empty, and PageNavi displays nothing (better than before though, it was allowing me to page through all 4 pages).This is how i am getting the other “side post” areas:
<?php $postslist = get_posts('category=4,5,6,7&numberposts=2&order=DESC&orderby=post_date'); foreach ($postslist as $post) : setup_postdata($post); ?>I am doing the side post areas incorrectly?
Thanks Again!