Support Forum

Error with Forum Page : Header and Footen not in the right place

JE jessada
jessada
Member

As per my attached pix: the header and footer are not in the right place

I’m using custom page template for Simple-press forum and below are the code:

Please recommend how to fix this, many thanks again

http://fundmanagertalk.com/forum/

 

<?php
    /*
    Template Name: Forum
    */
?>
<?php get_header(); ?>
<div id=”fullwidth”>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
        <div class=”entry”>
            <?php the_content(‘Read the rest of this entry ?’); ?>
        </div>
    </div>
</div>
<?php get_footer(); ?>

 

Screen015.jpg

 

rro

29 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

I am not sure it is possible for me to advise on this. Except I am not so sure it is using the above template. if you look at the html source being generated there are no ‘fullwidth’, ‘post-XX’ or ‘entry’ divs being used suggesting it is using a different WP template to your one above.

JE jessada
jessada
Member

Here, I’m using template name “Forum” (see the 1st pix)

I also attached the file (see 2nd pix) show all .php file under my theme folder

YS Yellow Swordfish
Yellow Swordfish
Member

This is hard to explain…

For some reason that template is just not working but I really do have no idea why that is. I can find the ‘fullwidth’ div after all but it is being displayed AFTER all of the page content down near the footer. What is more, the closing /problem-with-post-edit-buttonead tag is being shown AFTER the page has been displayed. I honestly have no idea why this should be but something is clearly not happy about things.

If you use one of the theme pre-supplied templates does that work properly?

JE jessada
jessada
Member

Yellow Swordfish said

If you use one of the theme pre-supplied templates does that work properly?

I’d tried using theme default page template but it didn’t work also

Both header & footer show at the bottom after the forum

YS Yellow Swordfish
Yellow Swordfish
Member

Well I am out of ideas and while I don’t think any of these will help we may as well try them.
Go to the forum admin > Integration > Page and permalink panel.

In the bottom section named ‘Theme Display Options’ Try turning them on one at a time and redisplayiing the page to see if it makes any difference

JE jessada
jessada
Member

Tried already but it didnt work

when “alllow multiple loading content” , almost OK except the forum load 3 times and the bottom one look perfect (see pix)Screen022.jpg

MP Mr Papa
Mr Papa
Member

so that indicates something, likely a plugin, do something odd with the wp the_content filter…  next step would be to disable all your other plugins and see if it still occurs…  if not, then reenable one by one until it returns…  once we know a conflict can work to see what the issue is…

JE jessada
jessada
Member

Mr Papa said
so that indicates something, likely a plugin, do something odd with the wp the_content filter…  next step would be to disable all your other plugins and see if it still occurs…  if not, then reenable one by one until it returns…  once we know a conflict can work to see what the issue is…

Found already

Simple-press plugin is conflict with “Simple Facebook Connect” Plugin

Is there any way to make it work together, Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

So did you try the suggestion made at the end of that WP forum thread?

JE jessada
jessada
Member

I tried allow multiple loading of forum content

The forum repeated 5 times on my page and only the last one is work. (see pix attached)

Screen023.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

if I send you a replacement code file – currently experimental – would you be willing to try it?

JE jessada
jessada
Member

Yellow Swordfish said
if I send you a replacement code file – currently experimental – would you be willing to try it?

yes I want to, thanks