Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Adding a Loop to "Below the Loop"

Old Apr 28, 2011, 12:23 PM
1 posts · Apr 2011
Hi all, I was using custom page templates with atahualpa 3.5.3 but now with 3.6.4 I'd just like to use the 'center column' code areas to make upgrades smoother... I had this loop in my template:

PHP Code:
query_posts( array( 'post_type' => 'post''cat' => 47 ) );   
// set $more to 0 in order to only get the first part of the post
$more 0
// the Loop
while (have_posts()) : the_post(); 
// the content of the post ?>
  <a href="<?php the_permalink(); ?>" title="Read <?php the_title(); ?>"><h2>
  <?php the_title(); ?></a></h2>
  <?php the_post_thumbnail(array(100,100)); the_excerpt();  edit_post_link('Edit'''''); 
running to display posts from a category that are related to the post. When trying to "save changes" with this code in the "Below the Loop" the page doesn't submit properly, I get blank white page and the changes aren't saved. I have confirmed the problem is in the "while" loop and I tried reformatting it but that didn't work.

I will be replacing the number for 'cat' in the query with the relevant category number based off an array to attach categories to page id's.

Anyone have a solution or know why this won't save to the atahualpa options? Works perfectly in the page template. Thanks!

Last edited by stumpadelic; Apr 28, 2011 at 01:52 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Eliminate "Content Before the Loop"? LaneLester Center area post/pages 1 Nov 6, 2010 03:44 PM
Adding Static Content "Above the Loop" on home page dchrist21 Center area post/pages 2 Sep 30, 2010 02:31 PM
"Redirect Loop" Issue When Clicking ANY blog link!!?? River2Horses Atahualpa 3 Wordpress theme 5 Sep 29, 2010 02:47 PM
Can you Hide "Content Below the Loop" on Pages? NoisyDvL5 Center area post/pages 3 Aug 19, 2010 06:51 PM
Where is the "Excerpt" part of The Loop in Atuhualpa JakeThePeg Excerpts, Read more, Pagination 6 Aug 10, 2009 05:12 AM

All times are GMT -6. The time now is 03:29 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.