Skip to:

[Resolved] bp_activity_action() blank string on my current theme

  • I upgraded to 15.1 today and now my activity-header is blank site-wide. I looked through the buddypress default theme which is showing everything just fine, and it is using the same function inside the activity-header. I do not think this is depreciated but for some reason it won’t show up.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • It ought to be working. Since you refer to your activity header, I assume it’s being used inside an activity loop. What version of BP did you upgrade from?

    1.2.6 I believe. It was working on that version. Yes I am inside the activity loop specifically the entry.php file. Also it works with the bp-deafult theme. I even copied everything from your entry.php file into mine and still no go. I have not found anything else yet but I am looking into it.

    after evaluating my options I felt that it had to do with something in the functions.php file. I deleted most everything in it and noticed the activity header now appeared. SO I went through and then spotted this function and filter. Not sure why it was there in the first place. But after removing these filters the activity-header got populated.

    `function remove_activity_meta( $content ) {
    return ”;

    add_filter( ‘bp_activity_permalink’, ‘remove_activity_meta’ );

    add_filter( ‘bp_activity_delete_link’, ‘remove_activity_meta’ );
    add_filter( ‘bp_activity_time_since’, ‘remove_activity_meta’ );`

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] bp_activity_action() blank string on my current theme’ is closed to new replies.
Skip to toolbar