Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: “Add new” link in forum frontpage working wrong

@fel64

Member

Front-page.php I believe is used to create the ?new=1 page.

Near the very bottom, look for a <?php endif; else : ?> line. Below this it should have code for <h3 class="bbcrumb"> ... and then <?php post_form(); endif; ?>

The code between the else : and the endif; are what executes to make the ?new=1 page. Looking at my theme in comparison, I think that the </div> underneath the else : ... endif; should actually be above it. Try it. If it works, come back and tell us please, because then we should probably make a trac ticket. Never noticed this before – I hacked up kakumei into my template straight away and assumed it to be a fault of mine in rewriting the horrible if : endif; method into nice braces.

[Edit] Just tested it myself, and there are five </div> in the page source in kakumei and only four <div. Pretty sure that’ll be your problem.

Skip to toolbar