Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to apply different page templates to different BP components?


  • denis24
    Participant

    @denis24

    Most of my BP screens use my theme’s “right sidebar” template.

    How can I apply a full-width page template to just the ‘messages’ components?

    I think it’s just a matter of modifying this code in page.php:

    <?php if ( is_active_sidebar('sidebar') ) : ?>
        <div class="page-right-sidebar">
    <?php else : ?>
        <div class="page-full-width">
    <?php endif; ?>

    But I can’t figure it out.

    WP 4.5.2
    BP 2.5.3
    Boss theme

  • You must be logged in to reply to this topic.
Skip to toolbar