/**
 * Hook group activity feed to <head>
 *
 * @since BuddyPress (1.5)
 */
function bp_groups_activity_feed()
{
    if (!bp_is_active('groups') || !bp_is_active('activity') || !bp_is_group()) {
        return;
    }
    ?>

	<link rel="alternate" type="application/rss+xml" title="<?php 
    bloginfo('name');
    ?>
 | <?php 
    bp_current_group_name();
    ?>
 | <?php 
    _e('Group Activity RSS Feed', 'buddypress');
    ?>
" href="<?php 
    bp_group_activity_feed_link();
    ?>
" />

<?php 
}
Exemplo n.º 2
0
<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
	<ul>
		<li class="feed"><a href="<?php 
bp_group_activity_feed_link();
?>
" title="<?php 
_e('RSS Feed', 'logicalboneshug');
?>
"><?php 
_e('RSS', 'logicalboneshug');
?>
</a></li>

		<?php 
do_action('bp_group_activity_syndication_options');
?>

		<li id="activity-filter-select" class="last">
			<label for="activity-filter-by"><?php 
_e('Show:', 'logicalboneshug');
?>
</label> 
			<select id="activity-filter-by">
				<option value="-1"><?php 
_e('Everything', 'logicalboneshug');
?>
</option>
				<option value="activity_update"><?php 
_e('Updates', 'logicalboneshug');
?>
</option>
Exemplo n.º 3
0
		<?php do_action( 'bp_head' ) ?>

		<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

		<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

		<?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
		<?php endif; ?>

		<?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
		<?php endif; ?>

		<?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
			<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
		<?php endif; ?>

		<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
		<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />

		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

		<?php wp_head(); ?>

	</head>

	<body <?php body_class() ?> id="bp-default">

		<?php do_action( 'bp_before_header' ) ?>