your theme is doing this.
Do you know how to ftp files to your server?
your theme is doing this.
Do you know how to ftp files to your server?
I am a newbie with WordPress and I have been using a custom menu widget placed at the top of all of my pages to keep a consistent header going. I am now trying to use bbPress and discovered I can create a page called “Forum” and use a page builder to place my menu widget above the forum shortcode widget to achieve the header.
However, when I select a forum/topic, it goes to a different page, one that is generated by bbPress and as such, doesn’t have a page builder design of which I can place a header.
It seems like the best solution would be to implement this header into all my pages through editing some php file somewhere but that is a bit beyond my technical ability. Is there a way to add widgets to ALL bbpress pages?
yes there is, but basically it needs you to know what your page template is called
see
item 8 for some more details
Thanks Robin, I managed to add the menu at the top. Legitimately took me about 5 hours of work, googling and research but I figured it out and now know PHP so yay
A menu is now part of my child theme 🙂
great – the investment of time will pay back!
Hi.
Service: https://www.dolzikoo.com
In ‘Mobile device’, ‘Profile box’ is big and ‘Content area’ is small.
I want to reduce the size of ‘Profile box’ in ‘Mobile device’ or move it somewhere else.
If that is not possible, I would like to remove ‘Profile box’ when viewing from ‘Mobile device’.
# Test https://www.dolzikoo.com/forums/topic/the-justice-department-appointed-robert-s-mueller-iii/
Thank you.
Hi,
I’d like to have a search box that only searches topics but forum & replies. What file or hooks should I change? Please enlighten me 🙁 Thanks.
Hmph… okay… I’ve noticed that /plugins/bbpress/includes/search/template.php is actually responsible for that feature:
function bbp_has_search_results( $args = '' ) {
global $wp_rewrite;
/** Defaults **************************************************************/
$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
// Default query args
$default = array(
'post_type' => $default_post_type, // Forums, topics, and replies
'posts_per_page' => bbp_get_replies_per_page(), // This many
'paged' => bbp_get_paged(), // On this page
'orderby' => 'date', // Sorted by date
'order' => 'DESC', // Most recent first
'ignore_sticky_posts' => true, // Stickies not supported
's' => bbp_get_search_terms(), // This is a search
);
So, changing ‘post_type’ => $default_post_type to ‘post_type’ => bbp_get_topic_post_type() works. However, it’s not clearly the best practice to modify the plugin directly anyother way to override this?
yes put this in your functions file – untested but should work
add_filter ('bbp_before_get_search_terms_parse_args', 'pluus_amend_search') ;
function pluus_amend_search ($args) {
$args['post_type'] = bbp_get_topic_post_type() ;
return $args ;
}
looks fine to me – all quite readable, but it is your site so your call!
play with the following numbers
so overall you might try
/* Change margin */
@media only screen and (max-width: 499px) {
/* Change the width of the author column */
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
width: 50px;
}
/* position the left hand side of the content column */
#bbpress-forums div.bbp-reply-content {
margin-left: 70px;
}
/* hide the avatar */
a.bbp-author-avatar {
display: none;
}
}
GREAT!
This is done by adjusting the value.
Thank you very much.
————————————————————-
/* Change margin */
@media only screen and (max-width: 499px) {
/* Change the width of the author column */
#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
display: none;
}
/* position the left hand side of the content column */
#bbpress-forums div.bbp-reply-content {
margin-left: 0px;
}
/* hide the avatar */
a.bbp-author-avatar {
display: none;
}
}
no problem !!
Whoa! Thanks!
great – glad you are fixed !
This didn’t work for me. I think because I’m using a sidebar on my forum pages, this is a must for me. Is there something that can be done to reduce the margin of the sidebar and forum blocks at the same time?
I’ve been searching for a very long time and all I can find is how to hide a sidebar, or make a full width page. I need to keep my sidebars in my forums, but they are causing the forums to be rather small to the point where it’s almost hard to read. I’ve tried this:
#sidebar-left .widget, #sidebar-right .widget {
margin: 0 0 1em;
}
But I think I might need something else to force the forum wider because the code above did nothing for me.
I’ve tried this as well:
#sidebar-left .widget, #sidebar-right .widget {
margin: 0 0 1em !important;
}
body.bbpress div#content{
width:100% !important;
}
Hello,
I’m having issue in my forum page and it was working fine the Twenty Seventeen but as i change my website to my purchased theme of cashbook. It made the forum index page blank and also the forum topic page is also blank.
Your help will be really appreciated.
Hello,
Is it possible to change the topic tags so, that only the topic creator and the moderator can change the tags?
Or after creating the topics, the tags can only be changed automatically by the moderator.
Since every spammer can change the tags, which makes the tags unusable.
When I try to view the index of forums, it looks good on a computer but it is not seen when I open it on a smartphone.
It appears the Foros word (forums), and no more.
I have WordPress 4.7.5 and Twenty Fourteen theme.