Search Results for 'code'
-
Search Results
-
When I create in /wp-content/themes/my-theme/bbpress/loop-topics.php then I can overwrite the default BBPress template this way.
But creating /wp-content/themes/my-theme/bbpress/loop-topics-[FORUM_ID_HERE].php doesn’t use this template for that category ID which seems to be against https://developer.wordpress.org/themes/basics/template-hierarchy/ and https://codex.bbpress.org/themes/theme-compatibility/template-hierarchy-in-detail/
Is there a way to create a separate page template per forum ID without using conditional tags in loop-topics.php?
Hi there,
I’m trying to write a script for displaying the recently active topics in general, and active topics since last visit for users. However, I’m running into a problem with
bbp_reply_url();It works fine for most topics, but we also got some rather large topics. For those the url is not generated correct: It misses the /page/1234/ part, e.g:
/forums/topic/kleine-vario-vragen-topic/#post-669703is wrong.
It should be/forums/topic/kleine-vario-vragen-topic/page/259/#post-669703The same thing happens when I click the reply ID in the reply header, it also generates an url without the /page/1234/ part.
For those urls missing the /page/1234/ part they redirect me to the first page of the topic, instead of the last page & reply. Can anyone help me solve this?
Best regards,
Topic: Small template issues
Hi there,
I’m expiriecing a minor template issue within BBpress.
When I try to move or split a post the form is not showing as supposed to, for example:

It doesn’t matter if I make the screen big or small.
<div class="inside-article">has a width of 864px.It’s not a big issue as this function is only available for moderators, but still.
Best regards,
AlrikHi,
A couple of questions related to link redirection and pagination:1. We’ve managed to implement threaded replies with paging with the help of this tutorial:
https://wpup.co/bbpress-threaded-nested-replies-with-paging/
but we’re still having problems with the links under recent comments and freshness, which won’t forward you to the correct page but to the first page of the topic. Any help on how to fix this?2. How can we include page numbers also on top of the topic page (currently page numbers are at the bottom of the page)? Tried to follow the suggestion at the tutorial site: “copy the code from Step 6 and paste it anywhere on top of where the the topic listing code starts” but it didn’t work.
3. How can we include navigation (page numbers) on the forum’s topic page, next to the topic names?
Our website
We’re using WP v. 4.9.4, theme Himalayas (1.1.1) and bbPress v. 2.5.14.Any help would be greatly appreciated! ๐
Since I was helping a friend convert a phpbb2 board to phpbb3 I thought I’d take the time to also import the forums into bbpress (my preference).
I initially tried the import but could not get it to work and after looking on the forums saw that I was not alone.
To get the import to work I had to remap some fields in the phpbb conversion script and comment out some obsolete ones (took about 30 minutes.If anyone needs to get your PHPBB3 users and forums converted in BBPress you can replace the phpBB.php file in wp-content\plugins\bbpress\includes\admin\converters to match the following updated code: https://gist.github.com/pixelnated/a7a9c41154cf64696ddd1c2e4f4327ed
Topic: Conditional for bbpress home
Hopefully I got the right forum here.
I want to add a heading when on the “forums” archive home page of the bbpress forum. Right now I have this for jetpack’s portfolio…note this is just a snippet of my code:
if (is_post_type_archive()) : echo '<h1 id="bts-page-title">' . __( 'WordPress Themes', 'bts' ) . '</h1>';…but the bbpress forum header area is loading that title as well. I’ve tried so many variations and conditionals, none work. I did manage to get the “forum” titles to show for individual forums with:
elseif (is_bbpress('forum') ) : echo '<h1 id="bts-page-title">' . __( 'Support Forum', 'bts' ) . '</h1>';But does anyone have an idea how to get the conditional to show a custom header title for the bbpress home page?
Hello. I just started using a new forum with my bbpress.
bbpress โ 2.5 14-6684
wp 4.9.4
The site is members.institutechiro.comA user just forwarded me his email and it is full of code. Example.
<p class=”p1″><span class=”s1″>Great first week content.</span></p>
<p class=”p1″><span class=”s1″>I was interested to know that an intellectual generation has 33 integers; making me a 4th gen chiro.</span></p>please help.
Thanks.
Simon