Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom post in the home and in the activity?

  • Avatar of housedir
    housedir
    Participant

    @housedir

    hi all, would like to know how to make note buddypress entries created in custom posts, I added:

    function movies_home( $query ) {

    if ( is_home() )
    $query->set( ‘post_type’, array( ‘post’, ‘movies’ ) );

    return $query;
    }
    add_filter( ‘pre_get_posts’, ‘movies_home’ );

    but does not work, also would like to know how to do to show me the entries created in the activities.

    excuse my English but use a translator because I speak only Spanish, thanks

You must be logged in to reply to this topic.