Search Results for '+.+default+.+'
-
Search Results
-
Hi everyone. I’ve been trying to display posts from the forum on a static home page so that it gives the appearance of a blog. Basically, I’m using the tewntyeleven theme and I’m using the showcase.php template to display the forum entries.
you can see what I’m going for here.. http://test.objectsinmotion.org
So far, I’ve managed to modify it so that super stickies are put in the featured slideshow. The forum posts are displayed properly, and I’ve managed to pull the topic tags. One of the things I’ve been having a lot of trouble with is displaying the forum a topic is posted in as a category. Normally there is a line of text below the topic excerpt that says, “posted in (category name)” . But it seems that nothing I have tried so far is working. In fact, whenever I try to call the forum title, is displays the topic title instead.
I’m not a programmer, and I know next to nothing about php, I’ve been doing a lot of reading, and trying to learn as much as I can, but I’m just running into a brick wall here. Any help anyone could offer would be much appreciated.
Showcase.php uses content.php to display all that meta data. right now it looks like this..
<?php
/**
* The default template for displaying content
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php if ( is_sticky() ) : ?>
<hgroup>
<h2 class="entry-title"><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
</hgroup>
<?php else : ?>
<h1 class="entry-title"><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<?php endif; ?>
<?php if ( 'topic' == get_post_type() ) : ?>
<div class="entry-meta">
<?php twentyeleven_posted_on(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
<?php if ( comments_open() && ! post_password_required() ) : ?>
<div class="comments-link">
<?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
</div>
<?php endif; ?>
</header><!-- .entry-header -->
<?php if ( is_search() ) : // Only display Excerpts for Search ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
<div class="entry-content">
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php endif; ?>
<footer class="entry-meta">
<?php $show_sep = false; ?>
<?php if ( 'topic' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
if ( $categories_list ):
?>
<span class="cat-links">
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
$show_sep = true; ?>
</span>
<?php endif; // End if categories ?>
<?php
/* translators: used between list items, there is a space after the comma */
$topic_tags = bbp_get_topic_tag_list( '', __( ', ', 'twentyeleven' ) );
if ( $topic_tags ):
if ( $show_sep ) : ?>
<span class="sep"> | </span>
<?php endif; // End if $show_sep ?>
<span class="tag-links">
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s ', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $topic_tags );
$show_sep = true; ?>
</span>
<?php endif; // End if $topic_tags ?>
<?php endif; // End if 'topic' == get_post_type() ?>
<?php if ( comments_open() ) : ?>
<?php if ( $show_sep ) : ?>
<span class="sep"> | </span>
<?php endif; // End if $show_sep ?>
<span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
<?php endif; // End if comments_open() ?>
</footer><!-- #entry-meta -->
</article><!-- #post-<?php the_ID(); ?> -->Other things on my to-do list include making the comments section show number of forum replies instead of number of wordpress comments, and changing the author link so that it goes to the bbpress profile of that user instead of a wordpress post archive.
For now though, I’m hoping that someone out there can help me with the “category” issue. Anyone have any ideas?
I’m using bbPress 2 sitewide forums with BuddyPress 1.5. I am using the bp-default theme and the bbp-twentyten default theme for bbPress. I can favorite existing forum topics, but they don’t show up in a user’s favorites tab in their activity stream/profile. When I click on the “This topic is one of your favorites” link, I just get redirected to the profile page.
Favorites in the activity stream itself are working fine.
Edit: specified using BP 1.5.1
Any help would be greatly appreciated.
I’ve been searching through all the template files and can’t find the code for the image avatars of a topic post and replies that’s 80px/80px. Where is that?
Hi,
On my website I have in root folder of the domain (www.example.com/) all html static pages. Some time ago I installed on that website the WordPress package, for blogging. As it was allowed in standard setup, WordPress files are located in http://www.example.com/wp/ folder and blog is accessible via http://www.example.com/blog/.
Recently I decided to add forum to the site, using existing WordPress installation. After bbress plugin installation, when I configure the forum, it is by default appended to blog – current WordPress starting folder and addressed as http://www.example.com/blog/forum/, which is messy and confusing.
How to setup bbpress in this environment to have forum root separated and directed to http://www.example.com/forum/ in parallel to blog http://www.example.com/blog/?
Any help would be really appreciated.
Hi.
I have some problems to use bbPress 2 with a full custom theme. bbPress is globally working and the forums are displaying correctly but some views don’t work properly. Example: the topic-tag view, which actually lists all topics of the forums, without taking the selected tag in account. I have the same behavior with the search results (I use the bbPress Search Widget plugin).
1. When I use the default bbPress theme, it works.
2. When I use my own custom bbPress theme, the problem happens.
3. When I override files in the default theme folder (not recommended), it works.
4. When I use the default bbPress theme as if it was a custom one (copy/paste of the folder, etc.) the problem happens too.
So it’s not related to my theme as it happens with the default theme files too, as soon as they’re not in the default folder.
What could it be related to?
Hi,
I’m trying to get new-topics-archive to show on my forum front page and to show all my forum pages in a simple left-aligned-sidebar structure, a structure that’s the opposite of the rest of the WP site(right-aligned sidebar).
I created a bbpress.php file with this structure, but it’s not being recognized. Instead, it’s defaulting to my template page.php file. I tried bbpress.php and forum.php, but neither works.
And once I get all that working, a shortcode on the forum front page should make it show the new-topics-archive, right? But that isn’t working either.
Any thoughts?
it’s probably easier to see the problem than explain it. The url is;
http://what-do-christians-believe.co.uk/wp/forum/
There are 2 different pages with the forum list listed as the root directory .
If you click back to the first forum the side bar is different; the first one shows blog posts but the forums list is the same.
Basically I want to get rid of the first of the forums list in the directory or know how to change the side bar menu in it. The default option doesn’t work presumably because their is a side bar on the page.
I did have a page called forums but this was removed from trash several days ago.
They are not set up on the forum’s menu bar.
