Quantcast
Channel: bbPress.org » All Posts
Viewing all articles
Browse latest Browse all 3638

Reply To: Sidebar reappear in topic and topic/

$
0
0

Okay, now this is what I did:
I replaced the line above

<?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

with this line in my old bbpress.php file because I see they are in the similar position and the page work ok.

<?php the_title( ‘<h2 ‘ . hybrid_get_attr( ‘entry-title’ ) . ‘>‘, ‘</h2>’ ); ?>

But at the topic page, it pushed the sidebar to the bottom. So, I deleted the get footer line and everything looks exactly how I want them to be.

Only that now I don’t know if they’ll be any problem, especially when I removed the get footer line.

The fact that I changed your code also is worrying me since I have absolutely no knowledge about php coding. I mean, I’ve found out there is a something called php coding.

Anyway, here is my footer.php content, can you check if anything is important ?

<?php hybrid_get_sidebar( ‘primary’ ); // Loads the sidebar/primary.php template. ?>

</div><!– #main –>

<?php hybrid_get_sidebar( ‘subsidiary’ ); // Loads the sidebar/subsidiary.php template. ?>

</div><!– .wrap –>

<footer <?php hybrid_attr( ‘footer’ ); ?>>

<div class=”wrap”>

<?php hybrid_get_menu( ‘social’ ); // Loads the menu/social.php template. ?>

<p class=”credit”>

<?php printf(

/* Translators: 1 is current year, 2 is site name/link, 3 is WordPress name/link, and 4 is theme name/link. */

__( ‘Copyright © %1$s %2$s. Powered by %3$s and %4$s.’, ‘stargazer’ ),

date_i18n( ‘Y’ ), hybrid_get_site_link(), hybrid_get_wp_link(), hybrid_get_theme_link()

); ?>

</p><!– .credit –>

</div><!– .wrap –>

</footer><!– #footer –>

</div><!– #container –>

<?php wp_footer(); // WordPress hook for loading JavaScript, toolbar, and other things in the footer. ?>

</body>

</html>


Viewing all articles
Browse latest Browse all 3638

Trending Articles