• Page Navi not working – I have the following code, the page number shows up but not functioning.
    ==================
    <div class=”blog_left”>

    <?php
    $catID = 0;
    if (is_page(‘news’)) {
    $catID=7;
    } elseif (is_page(‘releases’)) {
    $catID=5;
    } elseif (is_page(‘home’)) {
    $catID=7;
    }

    if ($catID) {
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; query_posts(“cat=$catID&paged=$paged”);
    }
    ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class=”left_content”>

    ” style=”text-decoration: none”><h1><span style=”color:#06536C”><?php the_title(); ?></span></h1>
    </br>
    <?php the_content(); ?>

    </div><!–//left_content–>

    <?php //comments_template(); ?>

    <?php endwhile; else: ?>

    <h3>Sorry, no posts matched your criteria.</h3>

    <?php endif; ?>

    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>

    </div><!–//blog_left–>

    <?php get_sidebar(); ?>

    <div class=”clear”></div>

    link to site: https://www.jetsetmusicgroup.com/jmg/releases/

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Your theme “jetsetmusic” does not seem to be fro www.ads-software.com
    My suggestion is to contact the theme’s developers

Viewing 1 replies (of 1 total)
  • The topic ‘Page Navi not working’ is closed to new replies.