custom post in the home and in the activity?
-
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
- The topic ‘custom post in the home and in the activity?’ is closed to new replies.