I am hoping that somebody would be able give me some advice or explanation into this issue.
I am using Buddypress with the buddydev plugin Blog Categories for Groups
I love buddypress and the way that it integrate with WP, and so far everything is working well.
However, the plugin is giving me a headache and I cannot work out what i need to change in the code to make it do what i want.
So here is the issue:
I am using the plugin to link blog categories to groups, so members of the groups can see posts that are associated with that group.
The plugin generates an archive under the group heading in buddypress
with permalinks to each relevant post
However, when you click on each permalink, it continues to display the blog post under the group header, which affects its layout.
How do I get the plugin to permalink to the original WP blog entry ?
If i am right, it has something to do with these lines of code, as this is where each relevant title is called in the plugin template;
<div class="post-content"> <h2 class="posttitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'bcg' ); ?></a></h2> <p class="date"><?php the_time() ?> <em><?php _e( 'in', 'bcg' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'bcg' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p> <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'bcg' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'bcg' ), __( '1 Comment »', 'bcg' ), __( '% Comments »', 'bcg' ) ); ?></span></p> </div>
how do i change this code to point towards the original blog entry in the, so the user is sent to the single post, rather than having to view the post in a nested fashion?