Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Comment Box under Reply Box

@crisium

Member

@John

I’ve looked into the suffusion them and can see the forums are being rendered at page.php

The suffusion code seems to handle the $post nicely by putting resetting it into it’s original state.

here is the page.php from suffusion:

<?php

/**

* Default template for a page

*

* @package Suffusion

* @subpackage Templates

*/

get_header();

?>

<div id=”main-col”>

<?php

suffusion_page_navigation();

suffusion_before_begin_content();

?>

<div id=”content”>

<?php

global $post;

if (have_posts()) {

while (have_posts()) {

the_post();

$original_post = $post;

?>

<div <?php post_class(‘fix’); ?> id=”post-<?php the_ID(); ?>”>

<?php suffusion_after_begin_post(); ?>

<div class=”entry-container fix”>

<div class=”entry fix”>

<?php suffusion_content(); ?>

</div><!–/entry –>

<?php

// Due to the inclusion of Ad Hoc Widgets the global variable $post might have got changed. We will reset it to the original value.

$post = $original_post;

suffusion_after_content();

?>

</div><!– .entry-container –>

<?php

suffusion_before_end_post();

comments_template();

?>

</div><!–/post –>

<?php

}

}

?>

</div></div>

<?php get_footer(); ?>

any suggestions what I should looke at?

regards,

Peter

Skip to toolbar