Title: pcglenn's Replies | WordPress.org

---

# pcglenn

  [  ](https://wordpress.org/support/users/pcglenn/)

 *   [Profile](https://wordpress.org/support/users/pcglenn/)
 *   [Topics Started](https://wordpress.org/support/users/pcglenn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pcglenn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pcglenn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pcglenn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pcglenn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pcglenn/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] How to format pagination text on a single line?](https://wordpress.org/support/topic/how-to-format-pagination-text-on-a-single-line/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-format-pagination-text-on-a-single-line/#post-7703170)
 * Worked perfectly. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Saving failed: AJAX call failed: error – Forbidden](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/#post-7683567)
 * Marking this resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Saving failed: AJAX call failed: error – Forbidden](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/#post-7683566)
 * Following up: the issue was exactly what you thought it was. I contacted my hosting
   provider and they replied:
 * _Upon investigating the issue we had found that a mod-secerity rule was triggering
   while saving the changes. We have now disabled mod-security for your domain and
   we were then able to successfully save the changes that were made in tablepress_
 * It now works. Thanks again for your assistance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Saving failed: AJAX call failed: error – Forbidden](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/saving-failed-ajax-call-failed-error-forbidden-1/#post-7683369)
 * Thank you for your prompt response. I’ll get in touch with my hosting provider.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pagination Not Working](https://wordpress.org/support/topic/pagination-not-working-77/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/pagination-not-working-77/#post-5944729)
 * alchymyth, you’re awesome. That did the trick, and you’re quicker than the developer.
 * Thank you so much for taking the time to look at this. I continue to study this
   stuff, but sometimes it still baffles me. Thanks for the link to WP_Query() vs.
   query_posts() as well.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Pagination Not Working](https://wordpress.org/support/topic/pagination-not-working-77/)
 *  Thread Starter [pcglenn](https://wordpress.org/support/users/pcglenn/)
 * (@pcglenn)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/pagination-not-working-77/#post-5944622)
 * Thank you for taking the time to reply. As I mentioned previously, I have reached
   out to the developer for help, but I thought the community here may benefit from
   the discussion as well.
 * I have read through the pertinent parts of the codex. I fiddle a bit with coding
   but am more of a HTML/CSS/Javascript guy, and find much of PHP stuff confusing.
   Thus, I consult the experts. 🙂
 * The full code for the page template is:
 *     ```
       <?php
       /*
       Template Name: Episodes
       */
       get_header(); ?>
   
       		<!-- begin main -->
       		<section class="main">
   
       			<h1>BLOG</h1>
   
       			<?php
       				// WP 3.0 PAGED BUG FIX
       				if ( get_query_var('paged') )
       				$paged = get_query_var('paged');
       				elseif ( get_query_var('page') )
       				$paged = get_query_var('page');
       				else
       				$paged = 1;
   
       				$args = array(
       				'post_type' => 'post',
       				'paged' => $paged );
       				query_posts($args);
       			?>
       			<?php query_posts('cat=3'); ?>
       			<?php if (have_posts()) : $count = 0; ?>
   
       			<?php while (have_posts()) : the_post(); $count++; global $post; ?>
   
       			<!-- begin .post -->
       			<article <?php post_class(); ?>>
   
       				<?php if(of_get_option('posts_layout') == 'pexcerpt') { ?>
   
       					<!-- begin .post-thumb -->
       					<div class="post-thumb">
       						<?php if(has_post_thumbnail()): the_post_thumbnail('large', array('class'=>'blog-thumb')); else: ?><?php endif; ?>
       					</div>
       					<!-- end .post-thumb -->
   
       					<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
   
       					<!-- begin .post-meta -->
       					<div class="meta">
       						<span class="post-comments icon-bubbles">
       							<a href="<?php echo get_comments_link() ?>">
       								<?php $comments_count = get_comments_number( $post_id ); echo $comments_count; ?>
       							</a>
       						</span>
       						<span class="post-author"><em><?php _e('by','site5framework') ?></em> <?php the_author_posts_link(); ?></span>
       						<span class="post-category"><em><?php _e('in','site5framework') ?></em> <?php the_category(', '); ?></span>
       						<span class="post-date"> | <?php echo get_the_date(M); ?> <?php echo get_the_date(d); ?>, <?php echo get_the_date(Y); ?></span>
       					</div>
       					<!-- end .post-meta -->
   
       					<div class="post-content">
       						<?php
       						global $more;
       	        			$more = 0;
       	        			the_content(__('Read More','site5framework')); ?>
               			</div>
   
       				<?php } else { ?>
   
       					<!-- begin .post-thumb -->
       					<div class="post-thumb">
       						<?php if(has_post_thumbnail()): the_post_thumbnail('single-post-image', array('class'=>'blog-thumb')); else: ?><?php endif; ?>
   
       						<!-- begin .post-meta -->
       						<div class="meta">
       							<span class="post-comments icon-bubbles">
       								<a href="<?php echo get_comments_link() ?>">
       									<?php $comments_count = get_comments_number( $post_id ); echo $comments_count; ?>
       								</a>
       							</span>
       							<span class="post-author"><em><?php _e('by','site5framework') ?></em> <?php the_author_posts_link(); ?></span>
       							<span class="post-category"><em><?php _e('in','site5framework') ?></em> <?php the_category(', '); ?></span>
       							<span class="post-date"> | <?php echo get_the_date(M); ?> <?php echo get_the_date(d); ?>, <?php echo get_the_date(Y); ?></span>
       						</div>
       						<!-- end .post-meta -->
   
       					</div>
       					<!-- end .post-thumb -->
   
       					<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
   
       					<?php the_content(__('Read More','site5framework'));  ?>
   
       				<?php } ?>
   
       			</article>
       			<!-- end .post -->
   
       			<?php endwhile; ?>
   
       			<!-- begin #pagination -->
       			<?php if (function_exists("emm_paginate")) {
       					emm_paginate();
       				 } else { ?>
       			<div class="navigation">
       		        <div class="alignleft"><?php next_posts_link('Older') ?></div>
       		        <div class="alignright"><?php previous_posts_link('Newer') ?></div>
       		    </div>
       		    <?php } ?>
       	    	<!-- end #pagination -->
   
       		</section>
       		<!-- end section -->
   
       		<?php endif; ?>
   
       <?php //get_sidebar(); ?>
   
       <div class="clear"></div>
   
       <?php get_footer(); ?>
       ```
   
 * Thanks again for any insight you may have.

Viewing 6 replies - 1 through 6 (of 6 total)