Skip to:
Content
Pages
Categories
Search
Top
Bottom

WP Page Content in a BP Group Tab

  • @chiinook

    Participant

    I’ve created a new default home template for my buddypress groups. With the code below, I’ve attempted to display the content of a wp page whose name corresponds to the group name. The loop I have below is in fact displaying pages. But instead of displaying the content of only the corresponding page, it is displaying the content of ALL pages with names that match bp groups.

    What am I missing?

    ` ‘page’, ‘pagename’ => bp_the_group() );
    query_posts( $args ); ?>

    <?php edit_post_link( __( '{ Edit }', 'woothemes' ), '‘, ‘‘ ); ?>

    `

Viewing 2 replies - 1 through 2 (of 2 total)
  • @djpaul

    Keymaster

    Uh. Is pagename intentionally commented out in that example ?

    @chiinook

    Participant

    Nope .. that was an attempt to see if there was something in that call that was changing things. Just forgot to uncomment when I pasted over. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Page Content in a BP Group Tab’ is closed to new replies.
Skip to toolbar