Stanjop (@stanjop)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In reply to: Sidebar won’t show

    Stanjop
    Participant

    @stanjop

    Hi there,

    Just to let you know, i found a workaround. I edited the page.php to bbpress. And with the plugin Widget logic, i am able to filter the sidebar.

    Thank you!

    In reply to: Sidebar won’t show

    Stanjop
    Participant

    @stanjop

    I think it might be due to use of the ‘Full Width’ page template. There is a ‘default page’ template which i can choose while adding pages, but i don’t know the location of the .php file of that one.

    In reply to: Sidebar won’t show

    Stanjop
    Participant

    @stanjop

    Hi Robin,

    Thank you for your reply, see under here:

    <?php
    /*
    Template Name: BBpress
    */
    ?>

    <?php wp_head(); ?>

    <?php $thumb = ( has_post_thumbnail() ) ? wp_get_attachment_image_src( get_post_thumbnail_id(), ‘profile-featured-medium’ ) : false; ?>

    <!– BEGIN .container –>

    <div class=”container”>

    <!– BEGIN .post class –>

    <div <?php post_class(); ?> id=”page-<?php the_ID(); ?>”>

    <?php if (get_theme_mod(‘display_feature_page’, ‘1’) == ‘1’) { ?>
    <?php if ( has_post_thumbnail() ) { ?>

    <!– BEGIN .row –>

    <div class=”row”>

    <div class=”feature-img page” >
    <div class=”banner” <?php if ( ! empty( $thumb ) ) { ?> style=”background-image: url(<?php echo esc_url( $thumb[0] ); ?>);” <?php } ?>>
    <h1 class=”headline img-headline”><?php the_title(); ?></h2>
    <?php the_post_thumbnail( ‘profile-featured-medium’ ); ?>

    </div>
    </div>

    <!– END .row –>

    </div>

    <?php } ?>
    <?php } ?>

    <!– BEGIN .row –>
    <div class=”row”>

    <!– BEGIN .twelve columns –>
    <div class=”twelve columns”>

    <!– BEGIN .postarea full –>
    <div class=”postarea full”>

    <?php get_template_part( ‘content/loop’, ‘page’ ); ?>

    <!– END .postarea full –>
    </div>

    <!– END .twelve columns –>
    </div>

    <!– END .row –>
    </div>

    <!– END .post class –>
    </div>

    <!– END .container –>
    </div>

Viewing 3 replies - 1 through 3 (of 3 total)