juliangav
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] save and finish later function?Same here!
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] delete meta descriptionSame here…?
Forum: Plugins
In reply to: [WP-PageNavi] WP-PageNavi only displaying first page.Got it to work but with the regular <?php wp_pagenavi(); ?>
Just a letter difference in the word ‘paged’…lol wow. Thanks a bunch!
Forum: Plugins
In reply to: [WP-PageNavi] WP-PageNavi only displaying first page.Using pastebin now: https://pastebin.com/JQYcyTmd
Forum: Plugins
In reply to: [WP-PageNavi] WP-PageNavi only displaying first page.Thanks for the quick response Bruno. Still not working though. I did as you said; the code looks like this now
<?php /* Template Name: Grants */ ?> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?> <span><?php echo get_post_meta($post->ID, 'board-title', true); ?></span></h1> <?php get_sidebar(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div id="content" class="entry"> <?php the_content(); ?> <?php global $query_string; $posts = query_posts( array( 'cat' => 9, 'paged' => get_query_var('page') ) );?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php global $more; $more = 0; ?> <!-- enabling 'more' --> <article> <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <p class="meta">Published on: <?php the_time('F jS, Y') ?> | Courtesy of <a href="https://<?php echo get_post_meta($post->ID, 'author', true); ?>"><?php echo get_post_meta($post->ID, 'author', true); ?></a></p> <?php the_content('Continue Reading »'); ?> </article> <?php endwhile; ?> <?php endif; ?><?php wp_pagenavi( array( 'type' => 'multipart' , 'query' => $posts) ); ?> <?php wp_reset_query(); ?> <?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> </div> </div> <?php endwhile; endif; ?> <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)