Search Results for 'code'
-
Search Results
-
Hi guys.
This is the first time I have tried to get bbPress working and I can’t get this combination to show the actual Forums or Topics although it does work on on this website http://www.essentialoils.coop/community when I switch the theme to bbPress (Twenty Ten).
If I use [bbp-forum-index] on a page or even just the bbP native URLs it will show my entire forum index, but when I click on any forum, I just get a blank page from the Pixel Theme Studio’s “Zen Theme”.
So far I have created a new directory within my theme root called ‘bbpress’ and copied the files from bbPress/bbp-theme-compat/bbpress/ to this new directory. I have also moved the root files out of /bbpress/extras into the root of my theme. Plus I have added
add_theme_support('bbpress');to my functions.php, but still nothing.My theme just seems to see the page at http://www.essentialoils.coop/community as an un-ordered list.
What did I do wrong? What haven’t I done? What is it that Zen Theme needs to make it work with bbPress?
Any help at all would be much appreciated.
Hello,
I’m using the standalone bbpress 1.1. I want to make a little modification to hide the thread replies from the non-logged users. So, the non-logged users can see only the very first post but can not see the replies to the topic. How can I do that?
I tried to remove following from the topic.php file in the theme, but it removes the first post as well. I’ll appreciate any help.
Code:<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<li id=”post-<?php post_id(); ?>”<?php alt_class(‘post’, $del_class); ?>>
<?php bb_post_template(); ?><?php endforeach; ?>
