Search Results for 'remove sidebar'
-
Search Results
-
Topic: Sidebar Messed Up
Topic: Remove sidebar?
Hi there,
I’m writing because I have trouble to understand how templates are managed in BBPress (and wordpress I guess :)).
I’d like to have a specific template on the main forum page (the one displaying the different forums). And another template for the page displaying the different topics.Currently in the wordpress page where I pasted the short code [bbp-forum-index], I call the template bbpress.php, which is presented in the bbpress codex (See example at the end of the topic).
But how can I create a specific template for my forum index (listing all my forums), for instance “forum-display.php”. And another template, listing my topics (for instance “topic-display.php”).
Maybe my file bbpress.php is not appropriate to do so ? or need to be customized a bit ?
NB : I’m using twenty twelve theme
I hope my question is clear,
Thank you for your help,
Pierre<?php /* Template Name: index-forum */ get_header(); ?> <div id="primary" class="site-content"> <div id="content-forum" role="main"> <?php /* Start the Loop */ while ( have_posts() ) : the_post(); ?> <?php /* This is the start of the page and also the insertion of the post classes. Post classes are very handy to style your forums. */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php /* This is the title wrapped in a header tag and a class to better style the title for your theme */ ?> <header class="entry-header"> <h1 class="entry-title"><?php the_title(); ?></h1> </header> <?php /* This is the content wrapped in a div and class to better style the content */ ?> <div class="entry-content"> <?php the_content(); ?> </div> <!-- .entry-content --> </article> <!-- #post --> <?php endwhile; // end of the loop. ?> </div> <!-- #content --> <div class="login-sidebar"><?php dynamic_sidebar('forum_login_zone');?></div> </div> <!-- #primary --> <?php /* This is code to display the sidebar and the footer. Remove the sidebar code to get full-width forums. This would also need CSS to make it actually full width. */ ?> <?php get_footer(); ?>
WordPress version 4.8
bbPress version 2.5.12
Site URI: Localhost (I can create a temp vpn tunnel to the site if needed.)Hi,
I am confused about the following setup and theme page template/bbPress weirdness.
I have installed bbPress and set the forum root to “
support
” and saved changes.
Then I created a page with the exact same name “support
“. The slug matches the page name and reads:www.mysite/support/
In this page I have added the bbpress short code[bbp-forum-index]
With the current theme I have the option to choose a page template with or without a sidebar. When I set the page template to “
sidebar
“, the sidebar does NOT display.When I change the “
forum root
” from “support
” to “forums
” and leave the page name and template choice as is, the sidebar does display.The same applies when I do not change the Forum root and leave it as “
support
“, but I remove the bbPress shortcode[bbp-forum-index]
. The page “support
” does show the sidebar.I am wondering if I am doing something wrong with either setting the Forum root slug and the page name to the exact same; “
support
“.Maybe this is not possible and leads to url/permalink confusion in WP/bbPress and it instead uses the “standard” page template (which doesn’t utilises any sidebars in the current theme I am using.)
In the end what I would like to see is the following (if possible at all.);
When you visit the site’s support page the url/slug read:
www.mysite.com/support/
The page title matches the slug: “Support
” and it uses the sidebar page template.In this page the support questions are shown by freshness and the breadcrumb actually displays “
home >> support
“, not “home >> forums
“.Thanks in advance for any help in explaining the Forum root and page name scheme/setup.
WordPress version 4.8
Genesis Theme version 2.5.2
bbPress version: 2.5.12
Site URL: http://staging.c-rad.org/My site has a members section for which all of the pages in it have a template applied to it with this simple logic:
if ( ! is_user_logged_in()) { wp_login_form(); return; } else { // add the members only sidebar and show the content }
Is it possible to install bbPress such that I can apply this template logic to all forum pages?
I also want all forum pages to exist under a parent page. e.g. c-rad.org/members/forums.
I can place my forum there (c-rad.org/members/my-forum) using a shortcode, but then all other forum pages go to their default locations (c-rad.org/topic/my-topic).
I tried changing the Forum Root to ‘members’, but then when I visit that page, the page template with my logic is removed.
I first heard of WordPress only recently. Today, I heard about CSS for the first time. This must give people the ability to customize anything on their site.
1) I have a page that I set to be the Front page. So in the menu bar I can click Home or I can click the title of the page to load the page. Having Home in the menu bar makes sense but that means I don’t need the title of the page to be there too. How do I remove the page title so the only way to load the page is by clicking Home?
2) I have a link to a privacy policy in the menu bar. I heard one can put page links in the site’s footer. That makes sense. I want to do that. I found these instructions:
Create a new menu, “Footer Menu” for example
Add-in whatever links (pages) are needed there
Add a widget (called Custom Menu) to a footer widget position (if your current theme supports it)I went to Customize and made a menu called Footer. I went to Appearance…Menu and added Privacy Policy to the Footer menu. I went to Appearance…Widgets and found Custom Menu. That’s as far as I got. How do I add custom menu to the “footer widget position”? Maybe my theme doesn’t support it. If I click Custom Menu, I see only “Right Sidebar” and “Add Widget”. If I go to my site, at the bottom I see “2017… Developed by Tamal Anwar”. Is that area at the bottom the footer?
Thanks.
Topic: Doubt about single-topic.php
Hello everyone.
I have a question with sigle-topic.php.
If I want to put the topics as full width (while the rest of the forum has sidebar) I remove the call to the sidebar, but it all concerns me.
What and where do I put it to be full width?
Hello everyone!
I want to do one thing on my bbpress and I’d like to do it without plugins.
Currently my entire forum is full width. In my child theme I included the template “fullwidth-page.php” renaming it as “bbpress.php”.
It worked perfect.
My intention now is to see the sidebar in the whole forum, but in the pages of topics is full width.
I think it improves the user experience. When they see the main page of forum, with the listings of forums, or when they enter a specific forum does not bother the sidebar to see what topics exist. But I would like to remove the sidebar when the user enters a topic or will do anything in it (read it, respond, etc …)Do you know how I can do this?
If I delete the template I made to remove the sidebar (“fullwidth-page.php” renamed as “bbpress.php”) I get the sidebar in the forum.
But what do I do next to remove the topics sidebar and everything related to them?Thanks greetings!
Topic: Topics and Forums full-width
Topic: Genesis remove a widget area