hiya,
My website looks fine on the front page, but when you go to the second page, the sidebar decides to fly out to the right! it looks like it’s outside of the page wrap for some reason, although as far as i am aware it should be fine as it’s all in the index.php!
what i am guessing, is that it has something to do with the if statement i am running… it checks to see if it’s the first page. if it is, then it shows a featured post and displays it. then runs the normal loop. but something seems to go wrong on page 2 etc…
this is my site http://allthebestvids.com/
and the code for the index.php is below.
If you could help me with this then i will think that you are a pretty swell guy!
- Code: Select all
if ( !is_paged() ) :
// check if this not a paged page of posts, then show featured post
?>
� while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID;?>
?>
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
ID, 'image', true);?>
'); ?> Posted in |
Not Found
Sorry, but you are looking for something that isn't here.
Go to Source
hiya,
My website looks fine on the front page, but when you go to the second page, the sidebar decides to fly out to the right! it looks like it’s outside of the page wrap for some reason, although as far as i am aware it should be fine as it’s all in the index.php!
what i am guessing, is that it has something to do with the if statement i am running… it checks to see if it’s the first page. if it is, then it shows a featured post and displays it. then runs the normal loop. but something seems to go wrong on page 2 etc…
this is my site http://allthebestvids.com/
and the code for the index.php is below.
If you could help me with this then i will think that you are a pretty swell guy!
- Code: Select all
if ( !is_paged() ) :
// check if this not a paged page of posts, then show featured post
?>
� while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID;?>
?>
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
ID, 'image', true);?>
'); ?> Posted in |
Not Found
Sorry, but you are looking for something that isn't here.
Go to Source
I’ve recently wrote a small library for SSH2 module for php to use with codeigniter.
the usage is the way you are used to it:
you can autoload the library from the autoload config file:
$autoload['libraries'] = array(’session’,'SSH’,'table’);
or the regular way:
$this->load->library(’SSH’);
and use it the way you want.
use it wisely.
Five tools to help CIOs and IT project managers keep their projects on-track and on-schedule — without blowing the budget!
Go to Source