Search Results for 'code'
-
Search Results
-
Hello all,
I am trying to add bbpress functions such as bbp_get_topic author and so on.
<?php $args = array( 'post_type' => 'topic', 'posts_per_page' => 10 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); bbp_get_topic_author_link ( array( 'size' => '60' ) ); endwhile; ?>I can get the_title(); and the_content(); but am having problems with getting this in:
bbp_get_topic_author_link ( array( 'size' => '60' ) );and more so. Is there anything I’m doing wrong?
Thank you for any help I might get 🙂
How do I change the word “Forum” (Next to “Topics” and “Posts”) on the main forum page?
I identified the code using Firebug, but I am not a coder so I have no idea where to find the code to change it:
<li class=”bbp-forum-info”>Forum
Thank you!
EDIT note: Running bbPress 2.5.3 on WordPress 3.8.1
My theme does not support sidebar widgets, so I instead created a page to house my forums. Additionally, I like the idea of being able to add some content above the forum index. I am running everything through a child theme.EDIT note: The breadcrumbs display in the bottom right of the header, in case it’s not obvious when looking.
As it stands, I’ve added a login box and some content to the page, then used the [bbp-forum-index] shortcode to add my forum index. See the page here.
Clicking into the first forum, “General Fishing Discussion” (my site is a fly fishing related one), I have no issues. The breadcrumbs can get me perfectly back to the page where the index resides. See here.
Finally, I have created a couple test topics. Once I click on one of those topics, this is where my problem arises. Instead of the breadcrumbs being Forum>General Fishing Discussion>Topic Title, they switch to Home>Topic>Topic Title. Clicking the Topic link takes me to a 404 page. See it here.
I’ve been tinkering with this for days, trying several different solutions from this site that I thought might work. The most recent was a fix suggested about two weeks ago whereby I copy the page.php file from my theme folder and rename it to bbPress.php to force bbPress to use it. I have seen no change. I will note that I tried placing it in the theme-child folder as well as the theme-child\bbPress\default folder. Neither worked.
The other fix I tried that I thought might get me there was one posted here about 4 months ago that offered a replacement code for the loop-forums.php. Unfortunately, that didn’t work either.
Does anyone have any other ideas? I really appreciate any help you guys can offer! I love the look and integration of bbPress, I just can’t have users running into walls after reading a topic and trying to navigate back out to other forums.
Thanks in advance!
I managed to remove the area at the header of the forum which states this topic has x amount of details etc by placing this code in functions.php
add_filter( ‘bbp_get_single_forum_description’, ‘ja_return_blank’ );
add_filter( ‘bbp_get_single_topic_description’, ‘ja_return_blank’ );
function ja_return_blank() {
return ”;
}
Is there a similar method to now remove voices. I just want post count to show in this area.
Thanks, Shaun.
Hello, for security concerns on creation of my site I renamed my wp-content folder to something else. Now upon installation of BBpress I don’t see any of the options in the dashboard. It looks like in the plugin itself its coded to search for wp-content. Is there a way to override this so it can find it and function properly?
Thanks for help.
Topic: Repair forum doesn't work
I followed the steps from http://codex.buddypress.org/getting-started/guides/migrating-from-old-forums-to-bbpress-2/ to migrate from Buddypress to bbpress.
At step 6 (Repair bbPress 2 forum relationships) I can’t tick any box. Despite selecting one by one I the box remains blank…
Please help ?
WP 3.8 buddypress 1.9 and bbpress 2.5.3.