Search Results for 'codes'
-
Search Results
-
Hello,
I have searched both here and on WordPress.org for how to use shortcodes and still can’t seem to get it right.
I have a custom WordPress theme that is based on the stock twenty-eleven theme. I have created a child theme in order to add styling for my BBPress forum.
I’m hoping to mimic a style similar to the forums here on bbpress.org with the forum listings on the side. Am I correct this can be accomplished? If so, where do I include the shortcodes?
Thank you in advance. Any help is greatly appreciated.
Topic: bbPress 2.0 – Feedback
So 2.0 beta has been downloaded over 15k times, which is awesome. Feedback has been coming in steadily, and I’ve been holding an official RC because of a few odds and ends that are taking some time to figure out. Hoping to get some feedback on a few specific things:
Page Templates
The way WordPress works, page templates can work automagically if the template name matches a page slug. This is really convenient as it automatically acts like a page template without setting it, but can get in the way if you want to use a specific page slug and not have bbPress take it over. Example:
page-user-register.php
If you made a WordPress page with the unique slug ‘user-register’ WordPress would automatically use that template file for that page. So far I’ve purposely picked unlikely template names so they wouldn’t collide with existing slugs. But, if that same file was renamed to:
page-register.php
…all it would take is making a “Register” page and bbPress would automatically have a sign-up page with no shortcodes and no more work. The adverse to that convenience is if you want to customize your sign-up page beyond what bbPress provides, you’re looking at a totally custom theme.
This works with any template file in the root folder of a theme, so there are lots of possibilities. My goal is to satisfy the majority, so I’m thinking of heading in this direction and renaming the template files.
Multisite
At the moment, multisite integration works great, if you want to have individual bbPress forums with their own authorized users per forum. If you want to have all users have access to all forums in a multisite install, you’re currently out of luck. With multisite there are endless configuration options, and I see the use case for all of them.
Which do you prefer as the default? Users can access all forums, or users can only access forums for which they have a role on that specific site?
Search
Right now there is no interface for searching the bbPress 2.0 integrated forums. The original implementation got negative reviews because search results were site wide, showing blog entries, topics, and replies.
It’s currently possible to filter search results by post type (topic/reply) but most WordPress themes assume the search results will come from posts or pages, and as such aren’t styled to look like forum results, which is really confusing to the person performing the search. It’s also confusing to have multiple search boxes, or to need to pick what results you’re looking for.
How do you think it should work? Should forum results appear in your existing blog search? Should they be separated? Should there be some kind of ‘smart search’ that knows where the request came from, and only shows results based on the type of content you are looking at (blog/forum/other)?
Settings
The WordPress mantra is decisions over options, but creating something as large as a discussion forum within WordPress is going to come with at least a few settings. I think our settings page is starting to get out of hand. Should we break the one page up into a few, or leave it as 1 page with all options?
That’s what’s on my mind. If you’ve been using 2.0 for the past few weeks, your input would be much appreciated so these last few ends can be tied up and we can let this ship sail.
Topic: bbPress 2.0 – Shortcodes
Closed and unstickied. See the codex page for details.
* Forums
[bbp-forum-index] – Show the forum index/archive
[bbp-single-forum id=$forum_id] – Show a single forums topics
* Topics
[bbp-topic-index] – Show the topics index/archive
[bbp-topic-form] – Show the new topic form
[bbp-single-topic id=$topic_id] – Show a single topic
* Topic Tags
[bbp-topic-tags] – Show a tag cloud of all topic tags
[bbp-single-topic-tag] – Show the topics within a specific tag
* Replies
[bbp-reply-form] – Show the topic reply form
* Views
[bbp-single-view] – Show topics associated with a specific view
* Account
[bbp-login] – Show the login screen
[bbp-register] – Show the register screen
[bbp-lost-pass] – Show the lost password screen