Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum posts to mirror main forum design


  • carlharrison1
    Participant

    @carlharrison1

    Good afternoon all,

    Please try to ignore my stupidity but I am a novice in this game 🙂

    I have set up my main forum page with a fusion slider behind my header, now is there anyway I can get this style to copy to each forum POST that is added within the main forum section? From what I gather each new post is picking up the default style settings but Im not sure how to copy the main template to each new post.

    Please help

    Thanks

Viewing 1 replies (of 1 total)

  • Robkk
    Moderator

    @robkk

    @itsmeitsb

    You would have to create a custom template for bbPress or a bbpress.php file so that all your forum pages use this.

    i guess if your slider is using a shortcode you can echo the shortcode in the template too.

    Getting Started in Modifying the Main bbPress Template

    You need to show it only on pages you want, so single topics, single forums, forum archive, and topic archive. Usually I see sliders have a conditional to show on the home page only so you would to do something similar but only on bbPress pages. You can input multiple conditionals using && or | for example,

    <?php if ( bbp_is_single_topic() && bbp_is_single_forum() && bbp_is_forum_archive() && bbp_is_topic_archive()) : ?>
    
    <?php echo do_shortcode("[shortcode]"); ?>
    
    <?php endif; ?>

    bbPress Conditional Tags

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar