Search Results for '+.+default+.+'
-
Search Results
-
I have a problem with the way breadcrumbs are being displayed on my search results screen.
First of all, I have the following (amongst other things) in my functions.php file:
/** Just a simple breadcrumb trail, but, importantly, don't double up when we're at the root **/ function mycustom_breadcrumb_options() { // Home - default = true $args['include_home'] = false; // Don't need breadcrumbs if we're at the root if ( apply_filters( 'bbp_no_breadcrumb', is_front_page() ) ) { // Forum root - default = true $args['include_root'] = false; // Current - default = true $args['include_current'] = false; } return $args; } add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' ); /** Search only the specified forum **/ function my_bbp_filter_search_results( $r ){ //Get the submitted forum ID $forum_id = sanitize_title_for_query( $_GET['bbp_search_forum_id'] ); //If the forum ID exits, filter the query if( $forum_id && is_numeric( $forum_id ) ){ $r['meta_query'] = array( array( 'key' => '_bbp_forum_id', 'value' => $forum_id, 'compare' => '=', ) ); } return $r; } add_filter( 'bbp_after_has_search_results_parse_args' , 'my_bbp_filter_search_results' );
I have a search box on the forum home page and on the index page for each individual forum. For general navigation around my forum the breadcrumbs are presented as one might expect and search results are confined to those relevant to the current forum (or all forums from the home page).
The breadcrumbs on the Forum ‘home page’ show simply as
Forums
and on individual forum index pages asForums > ForumName
, where ‘ForumName’ is the name of the current forum, etc. A search request from the Forum home page returns results as expected, with the breadcrumbs displayed asForums > Search > Search Results for 'search string'
. However, while a search from one of the individual forum index pages returns the refined search results as expected, the breadcrumbs are always displayed asForums > Search > Search Results for 'search string'
, they don’t include the name of the forum that has been searched (i.e.Forums > ForumName > Search > Search Results for 'search string'
.I think I can see that the search is actually being applied to all forums, then refined by the relevant function in the
functions.php
file, so I think I can see why I might have to do a little extra work to get the relevant forum name displayed in the breadcrumb, but can anyone suggest how I might do this? It would seem that I should be able to add a little more code to mymycustom_breadcrumb_options()
function, but what exactly…?Thanks for any assistance anyone can offer.
(WordPress 5.4.1, bbPress 2.6.5, website: digitalconcepts.net.au/forum – Please note, this part of the website is ‘hidden’ from the home page, you need to navigate there via the above direct URL)Topic: first reply sticky
what is the code to make the first reply of the topic as a sticky reply by default ?
i am trying to arrange the replies in descending order and the topic content is not showing on the top of the replies.
Question 2: Is it possible to show topic content under topic title, not on the replies? This will give me more options to arrange replies according to my requirement. [while i am using
<?php bbp_topic_content(); ?>
under topic title, the topic content is displaying in replies also]All,
I’m new to wordpress/bbpress, I’ve set my forum page to full-width… topics (list) are being shown as full-width. When I go into a specific topic, it’s not full-width. I have to manually change the topic attribute to full-width for each topic. It seems like when a topic is created, topic attribute is being defaulted to (default template) which is not full-width. Is there a way when a topic gets created, full-width template is used as default.Any help would be greatly appreciated.
Hi there,
When we receive notifications of topic replies. The Date Received field usually shows the time that has passed since the reply was posted. However, the text “Sometime Ago” is showing instead. This is happening for all bbPress notifications.
It still occurs when we deactivate all plugins other than Buddypress and bbPress and use the default themes.
Can anyone give any advice to fix this?
Topic: change topic slug structure
Hi all,
I would like to know how to change topic slug from default to %parentforum%/%childforum%/topic from DEFAULT: topic.
Topic: 404 errors on pages
I have been having an issue with my website, almost once a day the pages return broken links and 404 errors. I have to manually save the permalinks to fix it.
I have tried a lot of ways like creating a default htaccess file, but nothing works. So I started deactivating plugins once this happens. When I deactivate bbPress everything works again, so I was wondering if somebody knows what can be causing the issue?
It happens only to pages, not posts or archives.
This is the website I am having problems with: https://academiamunicipal.uned.ac.cr/
Topic: login plugin
Hello there,
I am stucked with this issue since some days : i am using the default bbpress connection widget (bpress version : 2.6.4) , but i am not satisfied by it behaviors such as redirect to wordpress admin login, the fact that the link on registration mail, bring the user again to wordpress back end, and also that email sender adress is the wordpress email (not mine !!) .. i had tried to change this last issue with this code in my functions.php :
add_filter( 'wp_mail_from', 'your_email' ); function your_email( $original_email_address ) { return 'myemail@domain.com'; } add_filter( 'wp_mail_from_name', 'custom_wp_mail_from_name' ); function custom_wp_mail_from_name( $original_email_from ) { return 'My Forum Name'; }
But instead i just received a “mail delivery failed”
I have tried other plugins such as “weaver” or “bbPress login register link..” but still not found the “good one” (or surely didn’t know how to optimize it)
Did someone know how to solve this problem ??
I am looking for a way to change default adress (wordpress) for registration email . Is it possible ?
Hello everyone.
I am noticing weird behavior when user clicks on activation link in email.
Upon clicking user is sent to page with input field that contains random generated password and below that button that says “Reset Password”.
Now this is somewhat confusing because some users might think that there is no need to click that button and just copy the password and proceed to login link bellow.
After that password is not working and user must reset password and basically do activation process again.
Is this how default WordPress registration works?