Connectto, I’m having a very similar problem! I have a static page (that is not a front page) displaying my portfolio. I am having success pulling the images and posts that I need, however I’m having pagination issues. Pagination links will show up, but when I click on them it just shows the same content again. Here’s the code that I have…I’ve tried a bunch of different solutions, but nothing seems to change it. Thanks in advance to anyone that can help! You can see the problem at https://josh-ruther4d.com/portfolio.php
This is at the top of the page to initialize wordpress
<?php
// Include WordPress
define('WP_USE_THEMES', false);
global $wpdb;
require_once('./wp-config.php');
query_posts('showposts=99');
?>
And then I have this
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
<?php query_posts("showposts=1&paged=$paged"); ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
//do stuff
<?php endwhile; ?>
<?php posts_nav_link(); ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]